next-pwa icon indicating copy to clipboard operation
next-pwa copied to clipboard

custom worker not working in production

Open Kunal-Khullar opened this issue 2 years ago • 1 comments

@shadowwalker Hi, I am facing this issue when deploying my code to production. I have my code in the worker/index.js and it is working fine on the local server but when I run the production build I receive this error. caught (in promise) DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at '{production_url}/workbox-6316bd0.js' failed to load.

Kunal-Khullar avatar Apr 18 '23 12:04 Kunal-Khullar

@Kunal-Khullar It seems this repo is dead and the maintainer cannot be contacted for so long now. I've made an immediate response by resurrecting this repo ImBIOS/next-pwa.

ImBIOS avatar May 02 '23 03:05 ImBIOS