summaryrefslogtreecommitdiff
path: root/searx/__init__.py
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-02-01 11:01:17 +0100
committerNoémi Ványi <sitbackandwait@gmail.com>2020-02-08 11:47:39 +0100
commit99435381a84072b110c32004b2fb778af9b96f77 (patch)
tree9ad5fd222e6717312ef05dbcd871ef46a97857e5 /searx/__init__.py
parentf9c7a678d273c55a0e8a1a7a2dbfd696b2046e60 (diff)
downloadsearxng-99435381a84072b110c32004b2fb778af9b96f77.tar.gz
searxng-99435381a84072b110c32004b2fb778af9b96f77.zip
[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.
Diffstat (limited to 'searx/__init__.py')
-rw-r--r--searx/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/__init__.py b/searx/__init__.py
index d32fe0066..2f3ebfcfe 100644
--- a/searx/__init__.py
+++ b/searx/__init__.py
@@ -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