mirror of
https://github.com/open-webui/open-webui
synced 2025-04-30 19:14:05 +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
@ -426,6 +426,7 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
|
||||
app = FastAPI(
|
||||
title="Open WebUI",
|
||||
docs_url="/docs" if ENV == "dev" else None,
|
||||
openapi_url="/openapi.json" if ENV == "dev" else None,
|
||||
redoc_url=None,
|
||||
|
Loading…
Reference in New Issue
Block a user