summaryrefslogtreecommitdiff
path: root/searx/settings_defaults.py
diff options
context:
space:
mode:
authorEmilien Devos <4016501+unixfox@users.noreply.github.com>2023-09-24 11:02:29 +0200
committerAlexandre Flament <alex@al-f.net>2023-09-25 22:31:14 +0200
commit47721a34855d2a68aef7f96dd7d297965d28416c (patch)
treedddb048599a9e40e1c80c98825924d26080ad36f /searx/settings_defaults.py
parent1df4588279aba55b40010e286191dcf4518ffd16 (diff)
downloadsearxng-47721a34855d2a68aef7f96dd7d297965d28416c.tar.gz
searxng-47721a34855d2a68aef7f96dd7d297965d28416c.zip
add new parameter called server.public_instance
for enabling by default advanced limiter functions in the future allow us to add features just for the public instances
Diffstat (limited to 'searx/settings_defaults.py')
-rw-r--r--searx/settings_defaults.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/settings_defaults.py b/searx/settings_defaults.py
index aa95e9394..ad45f8617 100644
--- a/searx/settings_defaults.py
+++ b/searx/settings_defaults.py
@@ -174,6 +174,7 @@ SCHEMA = {
'port': SettingsValue((int, str), 8888, 'SEARXNG_PORT'),
'bind_address': SettingsValue(str, '127.0.0.1', 'SEARXNG_BIND_ADDRESS'),
'limiter': SettingsValue(bool, False),
+ 'public_instance': SettingsValue(bool, False),
'secret_key': SettingsValue(str, environ_name='SEARXNG_SECRET'),
'base_url': SettingsValue((False, str), False, 'SEARXNG_BASE_URL'),
'image_proxy': SettingsValue(bool, False),