host is configurable now

master
b3yond 2018-09-08 16:31:02 +02:00
parent 3ce2084604
commit 3622c085c1
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