diff --git a/src/browser/register.ts b/src/browser/register.ts index 0c3d77904..4774ad5fa 100644 --- a/src/browser/register.ts +++ b/src/browser/register.ts @@ -5,7 +5,7 @@ export async function registerServiceWorker(): Promise { const options = getOptions() logger.level = options.logLevel - const path = normalize(`${options.csStaticBase}/dist/serviceWorker.js`) + const path = normalize(`${options.csStaticBase}/out/browser/serviceWorker.js`) try { await navigator.serviceWorker.register(path, { scope: options.base + "/",