Listen on all interfaces
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Lauri Võsandi 2022-02-13 13:41:42 +02:00 committed by Lauri Võsandi
parent 082639d5e3
commit 9bf1145ac1

View File

@ -179,6 +179,6 @@ async def setup_db(app, loop):
monitor(app).expose_endpoint() monitor(app).expose_endpoint()
try: try:
app.run(port=5001) app.run(host="0.0.0.0", port=5001)
except KeyboardInterrupt: except KeyboardInterrupt:
asyncio.get_event_loop().close() asyncio.get_event_loop().close()