mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
rename config key to default_locale
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 0,
|
||||
"ui": {
|
||||
"locale": "en-US",
|
||||
"default_locale": "en-US",
|
||||
"prompt_suggestions": [
|
||||
{
|
||||
"title": [
|
||||
|
||||
@@ -167,7 +167,7 @@ async def get_app_config():
|
||||
"status": True,
|
||||
"name": WEBUI_NAME,
|
||||
"version": VERSION,
|
||||
"locale": CONFIG_DATA["ui"]["locale"],
|
||||
"default_locale": CONFIG_DATA["ui"]["default_locale"],
|
||||
"images": images_app.state.ENABLED,
|
||||
"default_models": webui_app.state.DEFAULT_MODELS,
|
||||
"default_prompt_suggestions": webui_app.state.DEFAULT_PROMPT_SUGGESTIONS,
|
||||
|
||||
Reference in New Issue
Block a user