From d8c5d536799c142d13999f2acdd1066b71695d5e Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 26 Dec 2011 01:32:48 +0000 Subject: [PATCH] let's use the correct port shall we? --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)