From ee58335112460cab045772e2675dd1d9abda6bc6 Mon Sep 17 00:00:00 2001 From: Marks Polakovs Date: Sun, 10 May 2020 13:05:35 +0200 Subject: [PATCH] Disable Service Worker root scoping until #107 is resolved --- src/serviceWorkerLoader.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/serviceWorkerLoader.ts b/src/serviceWorkerLoader.ts index 0404fe6..2259cf7 100644 --- a/src/serviceWorkerLoader.ts +++ b/src/serviceWorkerLoader.ts @@ -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 = () => {