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

Failed to register ServiceWorker #114

Open
rubenmoor opened this issue Jun 3, 2020 · 0 comments
Open

Failed to register ServiceWorker #114

rubenmoor opened this issue Jun 3, 2020 · 0 comments

Comments

@rubenmoor
Copy link
Contributor

 A bad HTTP response code (404) was received when fetching the script.

and

push.js:24 TypeError: Failed to register a ServiceWorker for scope ('https://mydomain.net/') with script ('https://mydomain.net/sw.js'): A bad HTTP response code (404) was received when fetching the script.

This is on Google Chrome. I receive a similar error on Firefox.

Indeed mydomain.net/sw.js yields 404, but I don't know what else to expect there ... how does this url show up in push.js when registering the service worker?

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

1 participant