Remove time query from service worker
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 15 Feb 2024 09:27:00 +0000 (10:27 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 19 Feb 2024 13:38:41 +0000 (14:38 +0100)
com.woltlab.wcf/templates/headIncludeJavaScript.tpl

index c6bcae5d92dd69fcf86aa2922a1a5d05bad04e59..ab01a4366d5e3de89b528d903798994e46735bf3 100644 (file)
@@ -78,7 +78,7 @@ window.addEventListener('pageshow', function(event) {
                        {if $__wcf->user->userID && !SERVICE_WORKER_PUBLIC_KEY|empty}
             serviceWorker: {
                 publicKey: '{@SERVICE_WORKER_PUBLIC_KEY|encodeJS}',
-                serviceWorkerJsUrl: '{$__wcf->getPath('wcf')}js/serviceWorker.js?v={@LAST_UPDATE_TIME}',
+                serviceWorkerJsUrl: '{$__wcf->getPath('wcf')}js/serviceWorker.js',
                 registerUrl: '{link controller="RegisterServiceWorker"}{/link}',
             },
                        {/if}