mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: Swagger page fails to load remote CDN resources
This commit is contained in:
committed by
fit2cloud-chenyw
parent
856973676b
commit
761c3c8783
@@ -166,6 +166,8 @@ async def custom_swagger_ui(request: Request):
|
||||
openapi_url=f"/openapi.json?lang={lang}",
|
||||
title="SQLBot API Docs",
|
||||
swagger_favicon_url="https://fastapi.tiangolo.com/img/favicon.png",
|
||||
swagger_js_url="/swagger-ui-bundle.js",
|
||||
swagger_css_url="/swagger-ui.css",
|
||||
)
|
||||
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user