fix(pwa) fix PWA worker script origin

Looks like the base it's still applied, so use a full URL.
pull/7956/head jitsi-meet_5175
Saúl Ibarra Corretgé 4 years ago committed by Saúl Ibarra Corretgé
parent ad265d5815
commit 348c6416e5
  1. 2
      index.html

@ -25,7 +25,7 @@
if (shouldRegisterWorker) {
navigator.serviceWorker
.register('/pwa-worker.js')
.register(window.location.origin + '/pwa-worker.js')
.then(reg => {
console.log('Service worker registered.', reg);
})

Loading…
Cancel
Save