forked from open-webui/open-webui
fix: webui name
This commit is contained in:
parent
e399b38654
commit
c5eac5a1c7
1 changed files with 3 additions and 3 deletions
|
@ -71,6 +71,9 @@ except ImportError:
|
||||||
log.warning("dotenv not installed, skipping...")
|
log.warning("dotenv not installed, skipping...")
|
||||||
|
|
||||||
WEBUI_NAME = os.environ.get("WEBUI_NAME", "Open WebUI")
|
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"
|
WEBUI_FAVICON_URL = "https://openwebui.com/favicon.png"
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
|
@ -195,9 +198,6 @@ if CUSTOM_NAME:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.exception(e)
|
log.exception(e)
|
||||||
pass
|
pass
|
||||||
else:
|
|
||||||
if WEBUI_NAME != "Open WebUI":
|
|
||||||
WEBUI_NAME += " (Open WebUI)"
|
|
||||||
|
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
|
|
Loading…
Reference in a new issue