mirror of
https://github.com/hay-kot/homebox.git
synced 2025-08-01 15:20:29 +00:00
ignore /api paths from service workers
This commit is contained in:
parent
d1d98bcb06
commit
a1cde23512
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…
Add table
Add a link
Reference in a new issue