mirror of
https://github.com/searxng/searxng.git
synced 2026-05-24 20:04:30 +02:00
[enh] introduce private engines
This PR adds a new setting to engines named `tokens`. It expects a list of tokens which lets searx validate if the request should be accepted or not.
This commit is contained in:
@@ -38,6 +38,7 @@ def check_settings_yml(file_name):
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
# find location of settings.yml
|
||||
if 'SEARX_SETTINGS_PATH' in environ:
|
||||
# if possible set path to settings using the
|
||||
|
||||
Reference in New Issue
Block a user