Disable Service Worker root scoping until #107 is resolved

This commit is contained in:
Marks Polakovs 2020-05-10 13:05:35 +02:00
parent ebfde59120
commit ee58335112

View file

@ -68,7 +68,8 @@ export function register(config?: Config) {
function registerValidSW(swUrl: string, config?: Config) {
navigator.serviceWorker
.register(swUrl, {
scope: "/"
// TODO: disabled until #107 is resolved
// scope: "/"
})
.then((registration) => {
registration.onupdatefound = () => {