parent
6d9df65d02
commit
d02a7d90b9
|
@ -43,11 +43,14 @@ app.config['LANGUAGES'] = json.load(open(
|
||||||
os.path.join(app.config['STATIC_FOLDER'], 'settings/languages.json'),
|
os.path.join(app.config['STATIC_FOLDER'], 'settings/languages.json'),
|
||||||
encoding='utf-8'))
|
encoding='utf-8'))
|
||||||
app.config['COUNTRIES'] = json.load(open(
|
app.config['COUNTRIES'] = json.load(open(
|
||||||
os.path.join(app.config['STATIC_FOLDER'], 'settings/countries.json')))
|
os.path.join(app.config['STATIC_FOLDER'], 'settings/countries.json'),
|
||||||
|
encoding='utf-8'))
|
||||||
app.config['TRANSLATIONS'] = json.load(open(
|
app.config['TRANSLATIONS'] = json.load(open(
|
||||||
os.path.join(app.config['STATIC_FOLDER'], 'settings/translations.json')))
|
os.path.join(app.config['STATIC_FOLDER'], 'settings/translations.json'),
|
||||||
|
encoding='utf-8'))
|
||||||
app.config['THEMES'] = json.load(open(
|
app.config['THEMES'] = json.load(open(
|
||||||
os.path.join(app.config['STATIC_FOLDER'], 'settings/themes.json')))
|
os.path.join(app.config['STATIC_FOLDER'], 'settings/themes.json'),
|
||||||
|
encoding='utf-8'))
|
||||||
app.config['CONFIG_PATH'] = os.getenv(
|
app.config['CONFIG_PATH'] = os.getenv(
|
||||||
'CONFIG_VOLUME',
|
'CONFIG_VOLUME',
|
||||||
os.path.join(app.config['STATIC_FOLDER'], 'config'))
|
os.path.join(app.config['STATIC_FOLDER'], 'config'))
|
||||||
|
|
Loading…
Reference in New Issue