My website is hosted at https://xxxxxx.com
. I have set the scope of the service worker file sw.js
to /
, but it seems that the service worker is unable to control the page https://xxxxxx.com
. However, it can control other pages like https://xxxxxx.com/
, even though they are essentially the same page.
It appears that the scope /
is the maximum scope for a service worker. Can you provide some advice on how to enable the service worker to control the main page https://xxxxxx.com
?