diff --git a/app.py b/app.py index bd847b4..e77b3be 100644 --- a/app.py +++ b/app.py @@ -44,4 +44,5 @@ def api_highlight(): if __name__ == '__main__': - app.run() + port = int(os.environ.get("PORT", 5000)) + app.run(host='0.0.0.0', port=port)