Update searxng.ts (#1319)

remove default categories. otherwise we cannot use engines
This commit is contained in:
Loris 2025-03-13 17:21:44 +01:00 committed by GitHub
parent d54af97754
commit c53df8650a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"
}; };