Drop gunicorn and bind to 0.0.0.0 (#12)

Reviewed-on: #12
Co-authored-by: Madis Mägi <madis.magi@k-space.ee>
Co-committed-by: Madis Mägi <madis.magi@k-space.ee>
This commit is contained in:
2021-10-26 16:37:57 +00:00
committed by Lauri Võsandi
parent 8cf4bf7a45
commit c61f8175e6
3 changed files with 2 additions and 3 deletions

View File

@@ -59,4 +59,4 @@ async def view_longpoll(request):
return stream(g, content_type="text/event-stream")
if __name__ == '__main__':
app.run(debug=False, port=5000)
app.run(debug=False, host='0.0.0.0', port=5000)