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("\"", "");