diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-08-02 19:03:55 +0200 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2015-08-02 19:03:55 +0200 |
commit | d0830d4edf8a9ee794d5897afd813c88f0ea720b (patch) | |
tree | 989f853f5949d0e5d5ac1d759c3989dbe32a0904 /searx/webapp.py | |
parent | a905e4e7db3f25564742f51e3c43a65db1fbc15e (diff) | |
download | searxng-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.py | 3 |
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'] ) |