mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
Set FastAPI title to Open WebUI
This affects the generated OpenAPI (`/docs` and `/openapi.json`).
This commit is contained in:
parent
63533c9e3a
commit
15fd822916
1 changed files with 1 additions and 0 deletions
|
|
@ -426,6 +426,7 @@ async def lifespan(app: FastAPI):
|
||||||
|
|
||||||
|
|
||||||
app = FastAPI(
|
app = FastAPI(
|
||||||
|
title="Open WebUI",
|
||||||
docs_url="/docs" if ENV == "dev" else None,
|
docs_url="/docs" if ENV == "dev" else None,
|
||||||
openapi_url="/openapi.json" if ENV == "dev" else None,
|
openapi_url="/openapi.json" if ENV == "dev" else None,
|
||||||
redoc_url=None,
|
redoc_url=None,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue