summaryrefslogtreecommitdiffstats
path: root/module/web
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-12 15:56:57 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-12 15:56:57 +0100
commitc33b30db766be731f19d1ab46d9a1aae4e86e02e (patch)
tree35309059207224f7d1fc18aa3807ef9ebe2d22d4 /module/web
parentadded plugin for filefactory.com (diff)
downloadpyload-c33b30db766be731f19d1ab46d9a1aae4e86e02e.tar.xz
webserver listens now on all ip addresses (can be configured in the config file)
Diffstat (limited to 'module/web')
-rw-r--r--module/web/WebServer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/WebServer.py b/module/web/WebServer.py
index 94d00e168..5497439da 100644
--- a/module/web/WebServer.py
+++ b/module/web/WebServer.py
@@ -282,5 +282,5 @@ class WebServer(threading.Thread):
bottle.TEMPLATE_PATH.append('./module/web/templates/%s.tpl')
def run(self):
- self.core.logger.info("Starting Webinterface on port %s" % self.core.config['webinterface']['port'])
- run(host='localhost', port=int(self.core.config['webinterface']['port']), quiet=True)
+ self.core.logger.info("Starting Webinterface on %s port %s" % (self.core.config['webinterface']['listenaddr'],self.core.config['webinterface']['port']))
+ run(host=self.core.config['webinterface']['listenaddr'], port=int(self.core.config['webinterface']['port']), quiet=True)