You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create an app using the template, change the serviceWorkerRegistration.unregister to serviceWorkerRegistration.register and deploy to heroku, it will give the site the SSL cert and put it in production mode (the requirements for the service worker to work). Despite this, chrome shows "No matching service worker detected".
I can't figure out where the misconfiguration is.
The text was updated successfully, but these errors were encountered:
It might be an issue due to service worker scoping; if your service worker script is being served from a subdirectory (like /scripts/sw.js) that isn't used to host your HTML pages, for instance, that could lead to a service worker that you could register but doesn't actual control your pages.
If that's not the issue, and you could provide the URL for your deployment, I'd be happy to take a look at what might the problem.
If you create an app using the template, change the serviceWorkerRegistration.unregister to serviceWorkerRegistration.register and deploy to heroku, it will give the site the SSL cert and put it in production mode (the requirements for the service worker to work). Despite this, chrome shows "No matching service worker detected".
I can't figure out where the misconfiguration is.
The text was updated successfully, but these errors were encountered: