From de2b37e1e33267588089a7187d6b819b2dcb5045 Mon Sep 17 00:00:00 2001 From: GitHub Date: Fri, 12 Jun 2026 17:06:54 +0800 Subject: [PATCH] fix(web): use redoc@2.2.0 standalone bundle (v3 is ESM-only) Co-Authored-By: Claude --- src/easy_tdx/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/easy_tdx/web/app.py b/src/easy_tdx/web/app.py index a5c4803..002a753 100644 --- a/src/easy_tdx/web/app.py +++ b/src/easy_tdx/web/app.py @@ -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