[halfapi] configuration globals go lowercase

This commit is contained in:
Maxime Alves LIRMM 2021-11-30 01:50:27 +01:00
parent ed6dcb0513
commit a6985fa9bf
1 changed files with 4 additions and 4 deletions

View File

@ -49,10 +49,10 @@ class HalfAPI:
def __init__(self, config, routes_dict=None):
config_logging(logging.DEBUG)
SECRET = config.get('SECRET')
PRODUCTION = config.get('PRODUCTION', True)
DOMAINS = config.get('DOMAINS', {})
CONFIG = config.get('CONFIG', {
SECRET = config.get('secret')
PRODUCTION = config.get('production', True)
DOMAINS = config.get('domains', {})
CONFIG = config.get('config', {
'domains': DOMAINS
})