chore: use latest tag for build command

This commit is contained in:
Alex Varchuk 2022-07-26 15:16:09 +03:00
parent e4f84bb7de
commit 1c6b45f4b4

View File

@ -368,7 +368,7 @@ async function getPageHTML(
</script>`,
redocHead: ssr
? (cdn
? '<script src="https://unpkg.com/redoc@next/bundles/redoc.standalone.js"></script>'
? '<script src="https://unpkg.com/redoc@latest/bundles/redoc.standalone.js"></script>'
: `<script>${redocStandaloneSrc}</script>`) + css
: '<script src="redoc.standalone.js"></script>',
title: title || spec.info.title || 'ReDoc documentation',