mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
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:
@@ -28,7 +28,7 @@ export FIRETEXT_API_KEY='FIRETEXT_ACTUAL_KEY'
|
|||||||
export NOTIFICATION_QUEUE_PREFIX='YOUR_OWN_PREFIX'
|
export NOTIFICATION_QUEUE_PREFIX='YOUR_OWN_PREFIX'
|
||||||
|
|
||||||
export FLASK_APP=application.py
|
export FLASK_APP=application.py
|
||||||
export FLASK_DEBUG=1
|
export FLASK_ENV=development
|
||||||
export WERKZEUG_DEBUG_PIN=off
|
export WERKZEUG_DEBUG_PIN=off
|
||||||
"> environment.sh
|
"> environment.sh
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user