From 61ee370e1861819fb4ffe1e73b2389332df07cec Mon Sep 17 00:00:00 2001 From: Xavier horwood <39760456+Xavierhorwood@users.noreply.github.com> Date: Sun, 3 Jul 2022 00:56:28 +1000 Subject: [mod] link to public-instances can be set to hidden Some administrators may want to hide the link to public_instances: If you run a private instance for a company that wants there employees to use the private instance instead of any of the public instances. --- searx/settings_defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/settings_defaults.py') diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py index d951624cd..bb4707cc4 100644 --- a/searx/settings_defaults.py +++ b/searx/settings_defaults.py @@ -149,7 +149,7 @@ SCHEMA = { 'issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues'), 'new_issue_url': SettingsValue(str, 'https://github.com/searxng/searxng/issues/new'), 'docs_url': SettingsValue(str, 'https://docs.searxng.org'), - 'public_instances': SettingsValue(str, 'https://searx.space'), + 'public_instances': SettingsValue((False, str), 'https://searx.space'), 'wiki_url': SettingsValue(str, 'https://github.com/searxng/searxng/wiki'), }, 'search': { -- cgit v1.2.3