debug off for prod, on for rest by default

This commit is contained in:
2022-01-18 21:01:47 +11:00
parent de81db9412
commit 4a1fbf3f44

View File

@@ -15,7 +15,8 @@
# global debug setting
DEBUG=True
if os.environ['FLASK_ENV'] != "production":
DEBUG=True
### SQLALCHEMY IMPORTS ###
from sqlalchemy.ext.declarative import declarative_base