[halfapi] configuration globals go lowercase
This commit is contained in:
parent
ed6dcb0513
commit
a6985fa9bf
@ -49,10 +49,10 @@ class HalfAPI:
|
|||||||
def __init__(self, config, routes_dict=None):
|
def __init__(self, config, routes_dict=None):
|
||||||
config_logging(logging.DEBUG)
|
config_logging(logging.DEBUG)
|
||||||
|
|
||||||
SECRET = config.get('SECRET')
|
SECRET = config.get('secret')
|
||||||
PRODUCTION = config.get('PRODUCTION', True)
|
PRODUCTION = config.get('production', True)
|
||||||
DOMAINS = config.get('DOMAINS', {})
|
DOMAINS = config.get('domains', {})
|
||||||
CONFIG = config.get('CONFIG', {
|
CONFIG = config.get('config', {
|
||||||
'domains': DOMAINS
|
'domains': DOMAINS
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user