summaryrefslogtreecommitdiff
path: root/searx/webapp.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/webapp.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/webapp.py')
-rwxr-xr-xsearx/webapp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 9c7dbba1b..13a31d3e5 100755
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -1294,6 +1294,7 @@ def config():
},
'doi_resolvers': list(settings['doi_resolvers'].keys()),
'default_doi_resolver': settings['default_doi_resolver'],
+ 'public_instance': settings['server']['public_instance'],
}
)