Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(pwa) fix loading the service worker

Saúl Ibarra Corretgéd5b2da02c1fe
diff --git a/index.html b/index.html
index 1266fa5f96..cf1cd6446f 100644
--- a/index.html
+++ b/index.html
@@ -25,7 +25,7 @@
if (shouldRegisterWorker) {
navigator.serviceWorker
- .register('pwa-worker.js')
+ .register('/pwa-worker.js')
.then(reg => {
console.log('Service worker registered.', reg);
})
@@ -33,7 +33,7 @@
console.log(err);
});
}
- })
+ });
</script>
<script>
// IE11 and earlier can be identified via their user agent and be