Updating path for deploy and adding Dockerfile.
This commit is contained in:
parent
2fa935016e
commit
1d096ce1b3
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue