let's use the correct port shall we?

This commit is contained in:
2011-12-26 01:32:48 +00:00
parent b9ea2dbdf2
commit d8c5d53679

3
app.py
View File

@@ -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)