utkuarslan5
utkuarslan5
WWasp-lang
Created by utkuarslan5 on 6/17/2024 in #đŸ™‹questions
Service Worker Blocking Fetch Requests in PWA
Hi everyone, I've converted my WASP app into a Progressive Web App (PWA). I've successfully added the manifest and service worker. However, I'm running into a major issue: the service worker seems to be blocking fetch requests. Because of this, I can't get product analytics on PostHog, nor can I analyze the app in Lighthouse. I'm stuck and suspect it might be a cross-origin (CORS) issue, but I'm not sure. Does anyone have suggestions on how to resolve this or what might be causing the service worker to block fetch requests? Thanks in advance for your help!
15 replies