From a18f81e3641cead4bd8a7642c7ffd1530c76a05d Mon Sep 17 00:00:00 2001 From: Seth For Privacy Date: Tue, 13 Sep 2022 09:06:44 -0400 Subject: [PATCH] Set secret_key to random key --- apps/searxng/config.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/searxng/config.json b/apps/searxng/config.json index f0f3064a..7b49932d 100644 --- a/apps/searxng/config.json +++ b/apps/searxng/config.json @@ -12,5 +12,14 @@ "short_desc": "Privacy-respecting, hackable metasearch engine", "author": "searxng", "source": "https://github.com/searxng/searxng", - "form_fields": [] + "form_fields": [ + { + "type": "random", + "label": "SearXNG Secret Key", + "max": 50, + "min": 3, + "required": true, + "env_variable": "SEARXNG_SECRET_KEY" + } + ] }