Skip to content

Question: Is it possible to change the domain on which the worker is registered? #801

Answered by gCardinal
gCardinal asked this question in Q&A
Discussion options

You must be logged in to vote

Service workers require the page to be secure (HTTPS) or the browser will refuse to register the service worker (even if msw logs that the service worker is registered).

Using HTTPS on local (via mkcert and a nginx reverse proxy) solve the issue for me.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@gCardinal
Comment options

@kettanaito
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gCardinal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #800 on July 04, 2021 23:07.