mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix(route/the): Always use the first page to get the latest result (#16663)
This commit is contained in:
@@ -23,6 +23,7 @@ export const handler = async (ctx) => {
|
||||
|
||||
apiSearchParams.append('_embed', 'true');
|
||||
apiSearchParams.append('per_page', String(limit));
|
||||
apiSearchParams.append('page', '1');
|
||||
|
||||
const apiUrl = bakeUrl(`${apiSlug}/posts`, rootUrl, apiSearchParams);
|
||||
const currentUrl = bakeUrl(getFilterParamsForUrl(filtersWithPair) ?? '', rootUrl, searchParams);
|
||||
|
||||
Reference in New Issue
Block a user