Swap FLASK_DEBUG for FLASK_ENV

This achieves the same thing and gets rid of the warning about being
in a production environment when the app starts up.
This commit is contained in:
Ben Thorner
2021-02-18 09:10:13 +00:00
parent af95ad68ea
commit 5ff7c2013e

View File

@@ -28,7 +28,7 @@ export FIRETEXT_API_KEY='FIRETEXT_ACTUAL_KEY'
export NOTIFICATION_QUEUE_PREFIX='YOUR_OWN_PREFIX'
export FLASK_APP=application.py
export FLASK_DEBUG=1
export FLASK_ENV=development
export WERKZEUG_DEBUG_PIN=off
"> environment.sh
```