mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 15:44:18 +08:00
fix(web): use redoc@2.2.0 standalone bundle (v3 is ESM-only)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -114,7 +114,7 @@ def _create_app(
|
||||
return get_redoc_html(
|
||||
openapi_url=app.openapi_url or "/openapi.json",
|
||||
title=app.title + " - ReDoc",
|
||||
redoc_js_url="https://cdn.jsdelivr.net/npm/redoc@3.0.0-rc.0/bundle/redoc.js",
|
||||
redoc_js_url="https://cdn.jsdelivr.net/npm/redoc@2.2.0/bundles/redoc.standalone.js",
|
||||
)
|
||||
|
||||
# Store connection config in app.state for lifespan to use
|
||||
|
||||
Reference in New Issue
Block a user