We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e683476 commit b4a1431Copy full SHA for b4a1431
app.py
@@ -55,5 +55,7 @@ def post(self):
55
56
word_list_view = WordListView.as_view("word_list_view")
57
app.add_url_rule("/", view_func=word_list_view, methods=["POST"])
58
+
59
if __name__ == "__main__":
- app.run(host="127.0.0.1", port="5000", debug=True)
60
+ port = int(os.environ.get("PORT", 5000))
61
+ app.run(host='0.0.0.0', port=port)
0 commit comments