From ca717068692fc2418c73f6a43aba8796c26f25d6 Mon Sep 17 00:00:00 2001 From: Russkyc Date: Thu, 14 Mar 2024 12:44:36 +0800 Subject: [PATCH] :recycle: try to disable update via cache --- Timely/wwwroot/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Timely/wwwroot/index.html b/Timely/wwwroot/index.html index 21fe02f..60a4c2a 100644 --- a/Timely/wwwroot/index.html +++ b/Timely/wwwroot/index.html @@ -32,7 +32,7 @@ const registerServiceWorker = async () => { if ("serviceWorker" in navigator) { try { - await navigator.serviceWorker.register("service-worker.js", { updateViaCache: "none"}); + await navigator.serviceWorker.register("service-worker.js"); } catch (error) { console.error(`Registration failed with ${error}`); }