diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2020-02-01 11:01:17 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2020-02-08 11:47:39 +0100 |
commit | 99435381a84072b110c32004b2fb778af9b96f77 (patch) | |
tree | 9ad5fd222e6717312ef05dbcd871ef46a97857e5 /searx/__init__.py | |
parent | f9c7a678d273c55a0e8a1a7a2dbfd696b2046e60 (diff) | |
download | searxng-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__.py | 1 |
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 |