diff --git a/cli/index.ts b/cli/index.ts index 7c836f09..8a0747f4 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -293,7 +293,7 @@ async function getPageHTML( var container = document.getElementById('redoc'); Redoc.${ ssr - ? 'hydrate(__redoc_state, container);' + ? 'hydrate(__redoc_state, container)' : `init("spec.json", ${JSON.stringify(redocOptions)}, container)` };