mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 19:37:47 +01:00
refac: disable direct connections by default to avoid confusion
This commit is contained in:
@@ -871,7 +871,7 @@ CACHE_DIR.mkdir(parents=True, exist_ok=True)
|
||||
ENABLE_DIRECT_CONNECTIONS = PersistentConfig(
|
||||
"ENABLE_DIRECT_CONNECTIONS",
|
||||
"direct.enable",
|
||||
os.environ.get("ENABLE_DIRECT_CONNECTIONS", "True").lower() == "true",
|
||||
os.environ.get("ENABLE_DIRECT_CONNECTIONS", "False").lower() == "true",
|
||||
)
|
||||
|
||||
####################################
|
||||
|
||||
Reference in New Issue
Block a user