mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-07-31 02:12:02 +08:00
fix: return 10 search results by default
This commit is contained in:
parent
f1aed656b7
commit
a5e3c2d281
@ -93,7 +93,7 @@ export class SearcherHost extends RPCHost {
|
||||
// We want to make our search API follow SERP schema, so we need to expose 'num' parameter.
|
||||
// Since we used 'count' as 'num' previously, we need to keep 'count' for old users.
|
||||
// Here we combine 'count' and 'num' to 'count' for the rest of the function.
|
||||
count = (num !== undefined ? num : count) ?? 5;
|
||||
count = (num !== undefined ? num : count) ?? 10;
|
||||
|
||||
const uid = await auth.solveUID();
|
||||
// Return content by default
|
||||
|
Loading…
x
Reference in New Issue
Block a user