feat: allow webui name customisation

This commit is contained in:
Timothy J. Baek 2024-04-03 20:45:23 -07:00
parent 21132420d8
commit 8caad59cb4

View file

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