refactored a couple of constant names

pull/18/head
Chris Veilleux 2018-11-12 20:10:02 -06:00
parent 99b370eeb3
commit 49b16967bb
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ class LoginConfigException(Exception):
class BaseConfig:
"""Base configuration."""
DEBUG = False
LOGIN_BASE_URL = os.environ['LOGIN_BASE_URL']
SECRET_KEY = os.environ['JWT_SECRET']
SELENE_BASE_URL = os.environ['SELENE_BASE_URL']
SERVICE_BASE_URL = os.environ['SERVICE_BASE_URL']
SSO_BASE_URL = os.environ['SSO_BASE_URL']
TARTARUS_BASE_URL = os.environ['TARTARUS_BASE_URL']
@ -29,7 +29,7 @@ class ProdConfig(BaseConfig):
def get_config_location():
environment_configs = dict(
dev='sso_api.config.DevelopmentConfig',
dev=DevelopmentConfig,
test=TestConfig,
prod=ProdConfig
)