diff options
author | Adam Tauber <asciimoo@gmail.com> | 2016-02-27 18:16:40 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2016-02-27 18:23:55 +0100 |
commit | 0fbd705259c500bb01ec2d649670de2f0a91830a (patch) | |
tree | 46b87eee5b976e1daf65b7096099d151432f531f /searx/webapp.py | |
parent | ead8456a2bb0ae3f9d95ee68e444f446d8d61245 (diff) | |
download | searxng-0fbd705259c500bb01ec2d649670de2f0a91830a.tar.gz searxng-0fbd705259c500bb01ec2d649670de2f0a91830a.zip |
[enh] settings option to change instance name - closes #450
Diffstat (limited to 'searx/webapp.py')
-rw-r--r-- | searx/webapp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 71d65aa82..06859b847 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -328,6 +328,8 @@ def render(template_name, override_theme=None, **kwargs): kwargs['cookies'] = request.cookies + kwargs['instance_name'] = settings['general']['instance_name'] + kwargs['scripts'] = set() for plugin in request.user_plugins: for script in plugin.js_dependencies: |