mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-07-18 14:38:32 +00:00
Merge branch 'pr/827'
This commit is contained in:
@ -36,6 +36,7 @@ export const GET = async (req: Request) => {
|
||||
{
|
||||
engines: ['bing news'],
|
||||
pageno: 1,
|
||||
language: "en",
|
||||
},
|
||||
)
|
||||
).results;
|
||||
@ -49,7 +50,11 @@ export const GET = async (req: Request) => {
|
||||
data = (
|
||||
await searchSearxng(
|
||||
`site:${articleWebsites[Math.floor(Math.random() * articleWebsites.length)]} ${topics[Math.floor(Math.random() * topics.length)]}`,
|
||||
{ engines: ['bing news'], pageno: 1 },
|
||||
{
|
||||
engines: ['bing news'],
|
||||
pageno: 1,
|
||||
language: "en"
|
||||
},
|
||||
)
|
||||
).results;
|
||||
}
|
||||
|
Reference in New Issue
Block a user