Updating path for deploy and adding Dockerfile.

This commit is contained in:
g_it 2026-03-31 11:49:11 +02:00
commit 1d096ce1b3
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627

View file

@ -54,11 +54,10 @@ app = FastAPI(
redoc_url=None,
)
@app.get("/docs", include_in_schema=False)
async def scalar_docs():
return get_scalar_api_reference(
openapi_url=app.openapi_url,
openapi_url=f"{app.root_path}{app.openapi_url}",
title=app.title,
force_dark_mode_state="light",
hide_dark_mode_toggle=True,