Never mind. It's set by FLASK_ENV already
This commit is contained in:
parent
3a9d2c0b4d
commit
e9548b2172
|
@ -8,7 +8,6 @@ CORS_ENABLED = False
|
|||
DEVELOPMENT = environ.get('DEVELOPMENT', default="true") == "true"
|
||||
TESTING = environ.get('TESTING', default="false") == "true"
|
||||
PRODUCTION = (environ.get('PRODUCTION', default="false") == "true") or (not DEVELOPMENT and not TESTING)
|
||||
ENV = environ.get('ENV', default="production")
|
||||
|
||||
DB_HOST = environ.get('DB_HOST', default="localhost")
|
||||
DB_PORT = environ.get('DB_PORT', default="5432")
|
||||
|
|
Loading…
Reference in New Issue