You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I migrated from Vue 3 to Nuxt 3 and now my service worker is not working anymore. The file service-worker.js is located in the public directory. However, when I send a request that needs a token, my API requests do not work anymore. If I do not register the service-worker, then everything works fine.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Windows_NT
v16.16.0
3.1.2
2.1.1
npm@9.6.2
vite
debug
,ssr
,imports
,typescript
,vite
,css
,modules
,runtimeConfig
,i18n
@nuxtjs/i18n@8.0.0-beta.10
,@vueuse/nuxt@9.13.0
,@pinia/nuxt@0.4.6
-
Reproduction
Service-Worker:
app.vue
navigator.serviceWorker.register("/service-worker.js");
api-client.js
Describe the bug
I migrated from Vue 3 to Nuxt 3 and now my service worker is not working anymore. The file service-worker.js is located in the public directory. However, when I send a request that needs a token, my API requests do not work anymore. If I do not register the service-worker, then everything works fine.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: