Skip to content

ServiceWorker error on bikeroutes.it #20

@dhinus

Description

@dhinus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions