From 3a9d2c0b4d2e7cf7cd571dada4484f191abfe39d Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Wed, 15 Apr 2020 20:59:13 -0400 Subject: [PATCH] Sets ENV variable --- config/default.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/default.py b/config/default.py index d999f3a8..7dbd3a1d 100644 --- a/config/default.py +++ b/config/default.py @@ -8,6 +8,7 @@ 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")