debug off for prod, on for rest by default
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# global debug setting
|
# global debug setting
|
||||||
|
if os.environ['FLASK_ENV'] != "production":
|
||||||
DEBUG=True
|
DEBUG=True
|
||||||
|
|
||||||
### SQLALCHEMY IMPORTS ###
|
### SQLALCHEMY IMPORTS ###
|
||||||
|
|||||||
Reference in New Issue
Block a user