mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-25 18:15:40 +00:00
fix: ignore /api paths from service workers (#649)
Former-commit-id: f2363b85cb
This commit is contained in:
parent
fc3bc3f010
commit
1b77b15db4
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