Update searxng.ts (#1319)
remove default categories. otherwise we cannot use engines
This commit is contained in:
@@ -26,7 +26,7 @@ export async function searxng_search(
|
|||||||
// location: options.location, //not possible with SearXNG
|
// location: options.location, //not possible with SearXNG
|
||||||
// num: options.num_results, //not possible with SearXNG
|
// num: options.num_results, //not possible with SearXNG
|
||||||
engines: process.env.SEARXNG_ENGINES || "",
|
engines: process.env.SEARXNG_ENGINES || "",
|
||||||
categories: process.env.SEARXNG_CATEGORIES || "general",
|
categories: process.env.SEARXNG_CATEGORIES || "",
|
||||||
pageno: options.page ?? 1,
|
pageno: options.page ?? 1,
|
||||||
format: "json"
|
format: "json"
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user