Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom worker not working in production #473

Open
Kunal-Khullar opened this issue Apr 18, 2023 · 1 comment
Open

custom worker not working in production #473

Kunal-Khullar opened this issue Apr 18, 2023 · 1 comment

Comments

@Kunal-Khullar
Copy link

Kunal-Khullar commented Apr 18, 2023

@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.

@ImBIOS
Copy link

ImBIOS commented May 2, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants