diff --git a/backend/config.py b/backend/config.py index d354b1165..d73bedcc7 100644 --- a/backend/config.py +++ b/backend/config.py @@ -71,6 +71,9 @@ except ImportError: log.warning("dotenv not installed, skipping...") WEBUI_NAME = os.environ.get("WEBUI_NAME", "Open WebUI") +if WEBUI_NAME != "Open WebUI": + WEBUI_NAME += " (Open WebUI)" + WEBUI_FAVICON_URL = "https://openwebui.com/favicon.png" #################################### @@ -195,9 +198,6 @@ if CUSTOM_NAME: except Exception as e: log.exception(e) pass -else: - if WEBUI_NAME != "Open WebUI": - WEBUI_NAME += " (Open WebUI)" ####################################