Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: ignore /api paths from service workers (#649)

Hayden1b77b15db4f6
diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts
index b54cf716..d07a5fac 100644
--- a/frontend/nuxt.config.ts
+++ b/frontend/nuxt.config.ts
@@ -15,6 +15,9 @@ export default defineNuxtConfig({
},
css: ["@/assets/css/main.css"],
pwa: {
+ workbox: {
+ navigateFallbackDenylist: [/^\/api/],
+ },
injectRegister: "script",
injectManifest: {
swSrc: "sw.js",