From 8caad59cb4f38b5e75ac496aa0c3a83bed7d884e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Wed, 3 Apr 2024 20:45:23 -0700 Subject: [PATCH] feat: allow webui name customisation --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 04778f9f0..dfbbad2a8 100644 --- a/backend/config.py +++ b/backend/config.py @@ -25,7 +25,7 @@ try: except ImportError: log.warning("dotenv not installed, skipping...") -WEBUI_NAME = "Open WebUI" +WEBUI_NAME = os.environ.get("WEBUI_NAME", "Open WebUI") WEBUI_FAVICON_URL = "https://openwebui.com/favicon.png" shutil.copyfile("../build/favicon.png", "./static/favicon.png")