mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-12 09:49:06 -04:00
⬆️ Update ReDoc to version 2.x (#9700)
Co-authored-by: svlandeg <svlandeg@github.com> Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ async def redoc_html():
|
||||
return get_redoc_html(
|
||||
openapi_url=app.openapi_url,
|
||||
title=app.title + " - ReDoc",
|
||||
redoc_js_url="https://unpkg.com/redoc@next/bundles/redoc.standalone.js",
|
||||
redoc_js_url="https://unpkg.com/redoc@2/bundles/redoc.standalone.js",
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user