diff options
Diffstat (limited to 'service/pixelated/config/app_factory.py')
-rw-r--r-- | service/pixelated/config/app_factory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/config/app_factory.py b/service/pixelated/config/app_factory.py index 8b256550..3dc1c83a 100644 --- a/service/pixelated/config/app_factory.py +++ b/service/pixelated/config/app_factory.py @@ -131,8 +131,8 @@ def init_app(app): sync_info_controller, attachments_controller) -def create_app(app): - reactor.listenTCP(3333, Site(app.resource()), interface='localhost') +def create_app(app, bind_address): + reactor.listenTCP(3333, Site(app.resource()), interface=bind_address) reactor.callWhenRunning(lambda: init_app(app)) reactor.run() |