fix(route/the): Adjust default limit to get the latest articles (#17171)

This commit is contained in:
Andvari 2024-10-17 22:05:56 +08:00 committed by GitHub
parent 65114a5b41
commit c986500e2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import timezone from '@/utils/timezone';
export const handler = async (ctx) => {
const { filter } = ctx.req.param();
const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 50;
const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 40;
const rootUrl = 'https://the.bi/s';
const filters = parseFilterStr(filter);