added flask configs for the production skill service

pull/2/head
Chris Veilleux 2018-09-20 10:51:21 -05:00
parent 541664fb77
commit 73cfe04b4d
1 changed files with 5 additions and 1 deletions

View File

@ -23,12 +23,16 @@ class TestConfig(BaseConfig):
pass
class ProdConfig(BaseConfig):
pass
def get_config_location():
"""Determine which config to load based on environment"""
environment_configs = dict(
dev='market_api.config.DevelopmentConfig',
test=TestConfig,
# prod=ProdConfig
prod=ProdConfig
)
try: