mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
refac: disable direct connections by default to avoid confusion
This commit is contained in:
parent
1134512b22
commit
fbf5f2bb67
1 changed files with 1 additions and 1 deletions
|
|
@ -871,7 +871,7 @@ CACHE_DIR.mkdir(parents=True, exist_ok=True)
|
||||||
ENABLE_DIRECT_CONNECTIONS = PersistentConfig(
|
ENABLE_DIRECT_CONNECTIONS = PersistentConfig(
|
||||||
"ENABLE_DIRECT_CONNECTIONS",
|
"ENABLE_DIRECT_CONNECTIONS",
|
||||||
"direct.enable",
|
"direct.enable",
|
||||||
os.environ.get("ENABLE_DIRECT_CONNECTIONS", "True").lower() == "true",
|
os.environ.get("ENABLE_DIRECT_CONNECTIONS", "False").lower() == "true",
|
||||||
)
|
)
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue