From c53df8650aa7728d9711e37dc34c7dd1e2045757 Mon Sep 17 00:00:00 2001 From: Loris Date: Thu, 13 Mar 2025 17:21:44 +0100 Subject: [PATCH] Update searxng.ts (#1319) remove default categories. otherwise we cannot use engines --- apps/api/src/search/searxng.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/search/searxng.ts b/apps/api/src/search/searxng.ts index a0e711bd..2645fc1d 100644 --- a/apps/api/src/search/searxng.ts +++ b/apps/api/src/search/searxng.ts @@ -26,7 +26,7 @@ export async function searxng_search( // location: options.location, //not possible with SearXNG // num: options.num_results, //not possible with SearXNG engines: process.env.SEARXNG_ENGINES || "", - categories: process.env.SEARXNG_CATEGORIES || "general", + categories: process.env.SEARXNG_CATEGORIES || "", pageno: options.page ?? 1, format: "json" };