-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
P3backlogbacklogbugsomething brokensomething brokendash-rDash R applicationsDash R applicationsdocumentationwritten for humanswritten for humans
Description
The documentation only specifies
if __name__ == '__main__':
app.run_server(debug=True)
However, this would cause problems on the deployment of the app to heroku, the correct code should include the heroku port variable
if __name__ == '__main__':
app.run_server(debug=False, port=PORT)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3backlogbacklogbugsomething brokensomething brokendash-rDash R applicationsDash R applicationsdocumentationwritten for humanswritten for humans