Skip to content
Snippets Groups Projects
Commit c2c90f7b authored by frio's avatar frio
Browse files

Correctly hooks up the port ENV in run.py

Looks like this was a simple oversight :)
parent 0d9edaea
No related branches found
No related tags found
No related merge requests found
...@@ -5,4 +5,4 @@ from {{cookiecutter.repo_name}} import main ...@@ -5,4 +5,4 @@ from {{cookiecutter.repo_name}} import main
if __name__ == '__main__': if __name__ == '__main__':
port = int(os.environ.get('PORT', 5000)) port = int(os.environ.get('PORT', 5000))
main.app.run() main.app.run(port=port)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment