host is configurable now

multi-deployment
b3yond 2018-09-08 16:31:02 +02:00
parent 7ca904564c
commit b5f6854a1c
1 changed files with 1 additions and 1 deletions

View File

@ -264,6 +264,6 @@ bottle.install(SessionPlugin('/'))
if __name__ == '__main__':
# testing only
bottle.run(host='localhost', port=config["web"]["port"])
bottle.run(host=config["web"]["host"], port=config["web"]["port"])
else:
application.catchall = False