fix: webui name

This commit is contained in:
Timothy J. Baek 2024-04-26 17:00:25 -04:00
parent e399b38654
commit c5eac5a1c7

View file

@ -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)"
####################################