host is configurable now

This commit is contained in:
b3yond 2018-09-08 16:31:02 +02:00
parent 7ca904564c
commit b5f6854a1c

View file

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