diff --git a/package.json b/package.json index 7266370..d34830a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@vite-pwa/create-pwa", "type": "module", "version": "0.4.2", - "packageManager": "pnpm@9.9.0", + "packageManager": "pnpm@9.12.2", "description": "PWA Templates", "author": "antfu ", "license": "MIT", diff --git a/src/versions.ts b/src/versions.ts index f6f09b7..82c0694 100644 --- a/src/versions.ts +++ b/src/versions.ts @@ -2,7 +2,7 @@ export const WorkboxVersion = '^7.1.0' export const VitePluginPWAVersion = '^0.20.5' export const PWAAssetsVersion = '^0.2.6' export const NuxtPWAModuleVersion = '^0.10.5' -export const SvelteKitPWAVersion = '^0.6.5' +export const SvelteKitPWAVersion = '^0.6.6' export const RemixPWAVersion = '^0.1.3' export const TypeScriptVersion = '^5.4.5' export const VueTscVersion = '^2.1.4' diff --git a/templates/template-custom-svelte-kit/src/claims-sw.js b/templates/template-custom-svelte-kit/src/claims-sw.js index edf9dd6..96d120f 100644 --- a/templates/template-custom-svelte-kit/src/claims-sw.js +++ b/templates/template-custom-svelte-kit/src/claims-sw.js @@ -18,7 +18,7 @@ if (import.meta.env.DEV) // to allow work offline registerRoute(new NavigationRoute( - createHandlerBoundToURL('index.html'), + createHandlerBoundToURL('/'), { allowlist }, )) diff --git a/templates/template-custom-svelte-kit/src/prompt-sw.js b/templates/template-custom-svelte-kit/src/prompt-sw.js index a21448a..b401f2a 100644 --- a/templates/template-custom-svelte-kit/src/prompt-sw.js +++ b/templates/template-custom-svelte-kit/src/prompt-sw.js @@ -22,6 +22,6 @@ if (import.meta.env.DEV) // to allow work offline registerRoute(new NavigationRoute( - createHandlerBoundToURL('index.html'), + createHandlerBoundToURL('/'), { allowlist }, ))