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

ServiceWorker error on bikeroutes.it #20

Open
dhinus opened this issue Dec 6, 2020 · 0 comments
Open

ServiceWorker error on bikeroutes.it #20

dhinus opened this issue Dec 6, 2020 · 0 comments

Comments

@dhinus
Copy link
Member

dhinus commented Dec 6, 2020

I configured the custom domain https://bikeroutes.it and added a redirect (using Cloudflare) so that all requests to bikeroutes.it/Explorer/* are redirected to bikeroutes.it/*.

The app is working but the following error is logged in the Chrome console:

main.d55822f5.chunk.js:1 Error during service worker registration: DOMException: Failed to register a ServiceWorker for scope ('https://bikeroutes.it/Explorer/') with script ('https://bikeroutes.it/Explorer/service-worker.js'): The script resource is behind a redirect, which is disallowed.
(anonymous) @ main.d55822f5.chunk.js:1

We can probably just remove the /Explorer path from everywhere.

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