mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-22 00:25:43 +00:00
fix: ignore /api paths from service workers (#649)
This commit is contained in:
parent
4d9131ba7e
commit
f2363b85cb
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
css: ["@/assets/css/main.css"],
|
css: ["@/assets/css/main.css"],
|
||||||
pwa: {
|
pwa: {
|
||||||
|
workbox: {
|
||||||
|
navigateFallbackDenylist: [/^\/api/],
|
||||||
|
},
|
||||||
injectRegister: "script",
|
injectRegister: "script",
|
||||||
injectManifest: {
|
injectManifest: {
|
||||||
swSrc: "sw.js",
|
swSrc: "sw.js",
|
||||||
|
|
Loading…
Reference in a new issue