Skip to content

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

feat(index.html): add safeguards to the reload delay value

paweldomas62532b587986
diff --git a/index.html b/index.html
index fc74f16760..ce023a50ea 100644
--- a/index.html
+++ b/index.html
@@ -58,6 +58,8 @@
}
var delay = Math.pow(2, retryCount) * 2000;
+ if (isNaN(delay) || delay < 2000 || delay > 60000)
+ delay = 10000;
document.body.innerHTML
= "<div style='"