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)
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"],
|
||||
pwa: {
|
||||
workbox: {
|
||||
navigateFallbackDenylist: [/^\/api/],
|
||||
},
|
||||
injectRegister: "script",
|
||||
injectManifest: {
|
||||
swSrc: "sw.js",
|
||||
|
|
Loading…
Reference in a new issue