host is configurable now
This commit is contained in:
parent
7ca904564c
commit
b5f6854a1c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue