From c5f54b091ea4395c3729c3d7d894d69b84e3a156 Mon Sep 17 00:00:00 2001 From: yaso Date: Fri, 20 Sep 2024 13:32:24 +0200 Subject: [PATCH] v7 --- Frontend/patient_manager/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/patient_manager/web/index.html b/Frontend/patient_manager/web/index.html index 397446ed..8deeccd8 100644 --- a/Frontend/patient_manager/web/index.html +++ b/Frontend/patient_manager/web/index.html @@ -185,7 +185,7 @@ } console.log('Active Service Worker URL: ' + reg.active.scriptURL); - const currentSWVersion = reg.active.scriptURL.split("=")[1]; + const currentSWVersion = reg.active.scriptURL.split("=")[1].replaceAll("%22", "");; console.log('Active Service Worker Version: ' + serviceWorkerVersion.replaceAll("\"", "")); console.log('Latest Service Worker Version: ' + currentSWVersion); const isMatch = currentSWVersion === serviceWorkerVersion.replaceAll("\"", "");