mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-25 10:05: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"],
|
||||
pwa: {
|
||||
workbox: {
|
||||
navigateFallbackDenylist: [/^\/api/],
|
||||
},
|
||||
injectRegister: "script",
|
||||
injectManifest: {
|
||||
swSrc: "sw.js",
|
||||
|
|
Loading…
Reference in a new issue