summaryrefslogtreecommitdiff
path: root/searx/settings_defaults.py
diff options
context:
space:
mode:
authorXavier horwood <39760456+Xavierhorwood@users.noreply.github.com>2022-07-03 00:56:28 +1000
committerMarkus Heiser <markus.heiser@darmarit.de>2022-07-04 13:26:01 +0200
commit61ee370e1861819fb4ffe1e73b2389332df07cec (patch)
treef6cf5d591905e11d398a16223852fd97a453a7a6 /searx/settings_defaults.py
parent4ef62637256d4b2966ff7f0be0051e02d545f756 (diff)
downloadsearxng-61ee370e1861819fb4ffe1e73b2389332df07cec.tar.gz
searxng-61ee370e1861819fb4ffe1e73b2389332df07cec.zip
[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.
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r--searx/settings_defaults.py2
1 files changed, 1 insertions, 1 deletions
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': {