pwa adjustments

This commit is contained in:
2023-07-06 13:11:14 +02:00
parent 9c9d447765
commit f970d968c2
3 changed files with 5 additions and 17 deletions

View File

@@ -9,9 +9,10 @@ export default defineConfig({
sveltekit(),
SvelteKitPWA({
kit: {
adapterFallback: "/200.html",
trailingSlash: "always",
},
scope: "/",
base: "/",
includeAssets: ["favicon.png"],
manifest: {
name: "dot i/o",
@@ -25,13 +26,6 @@ export default defineConfig({
},
],
},
base: "/",
workbox: {
modifyURLPrefix: {
"": "/",
"./": "/",
},
},
}),
],
})