summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-08-02 19:03:55 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-08-02 19:03:55 +0200
commitd0830d4edf8a9ee794d5897afd813c88f0ea720b (patch)
tree989f853f5949d0e5d5ac1d759c3989dbe32a0904 /searx/webapp.py
parenta905e4e7db3f25564742f51e3c43a65db1fbc15e (diff)
downloadsearxng-d0830d4edf8a9ee794d5897afd813c88f0ea720b.tar.gz
searxng-d0830d4edf8a9ee794d5897afd813c88f0ea720b.zip
[enh] add settings option to set listening address - closes #397
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index fb7157b47..d45d01ecc 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -777,7 +777,8 @@ def run():
app.run(
debug=settings['server']['debug'],
use_debugger=settings['server']['debug'],
- port=settings['server']['port']
+ port=settings['server']['port'],
+ host=settings['server']['bind_address']
)