Listen on all interfaces
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
Lauri Võsandi 2022-02-13 13:18:00 +02:00 committed by Lauri Võsandi
parent f52be8f7c5
commit d2f37ec192

View File

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