mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: config data issue
This commit is contained in:
@@ -170,7 +170,7 @@ async def get_app_config():
|
|||||||
"version": VERSION,
|
"version": VERSION,
|
||||||
"default_locale": (
|
"default_locale": (
|
||||||
CONFIG_DATA["ui"]["default_locale"]
|
CONFIG_DATA["ui"]["default_locale"]
|
||||||
if "default_locale" in CONFIG_DATA["ui"]
|
if "ui" in CONFIG_DATA and "default_locale" in CONFIG_DATA["ui"]
|
||||||
else "en-US"
|
else "en-US"
|
||||||
),
|
),
|
||||||
"images": images_app.state.ENABLED,
|
"images": images_app.state.ENABLED,
|
||||||
|
|||||||
Reference in New Issue
Block a user