Skip to content
Snippets Groups Projects
Commit 70d6426f authored by user's avatar user
Browse files

wip: fix offline docs

parent 3ce3b274
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ app.mount("/static", StaticFiles(directory="./app/static"), name="static")
@app.get("/docs", include_in_schema=False)
def custom_swagger_ui_html():
return get_swagger_ui_html(
openapi_url=app.openapi_url,
openapi_url="/api/openapi.json",
title=app.title + " - Offline Swagger UI",
swagger_js_url="/static/swagger.js",
swagger_css_url="/static/swagger.css",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment