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 PWA worker script origin

Saúl Ibarra Corretgé348c6416e560
diff --git a/index.html b/index.html
index cf1cd6446f..0f4f579133 100644
--- a/index.html
+++ b/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);
})