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 3ea9654 commit 1016697Copy full SHA for 1016697
python/flask-example/sample.py
@@ -47,4 +47,4 @@ def cmd_toolkit():
47
return render_template('cmd.html', data=data)
48
49
app.debug = True
50
-app.run(host='0.0.0.0', port=os.getenv('PORT', '9000'),)
+app.run(host='0.0.0.0', port=int(os.getenv('PORT', 9000)),)
0 commit comments