mirror of
https://github.com/fastapi/fastapi.git
synced 2026-04-26 09:52:26 -04:00
📝 Restored Swagger-UI links to use the latest version possible. (#11459)
This commit is contained in:
@@ -14,8 +14,8 @@ async def custom_swagger_ui_html():
|
||||
openapi_url=app.openapi_url,
|
||||
title=app.title + " - Swagger UI",
|
||||
oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
|
||||
swagger_js_url="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui-bundle.js",
|
||||
swagger_css_url="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui.css",
|
||||
swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js",
|
||||
swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user