Skip to content

Commit

Permalink
chore: update patch html
Browse files Browse the repository at this point in the history
  • Loading branch information
kuoruan committed Jan 19, 2025
1 parent c874ce6 commit b4983b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/plugin/PatchHtml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class PatchHtml implements PluginMiddleware {
const scriptSrc = `${baseUrl}${staticPath}/${scriptName}`;

return [
`<script>window.__VERDACCIO_OPENID_OPTIONS={keepPasswdLogin:${this.config.keepPasswdLogin}}</script>`,
`<script>window.__VERDACCIO_OPENID_OPTIONS={"keepPasswdLogin":${this.config.keepPasswdLogin}}</script>`,
`<script defer="defer" src="${scriptSrc}"></script>`,
].join("\n");
].join("");
}
}

0 comments on commit b4983b9

Please sign in to comment.