Skip to content

Commit 5a3e779

Browse files
author
Igor Khomenko
committed
Update index.html
1 parent a5858a1 commit 5a3e779

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

samples/webrtc/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,5 +260,11 @@ <h4>Call from <strong class="j-ic_initiator"></strong></h4>
260260
<script src="config.js"></script>
261261
<script src="js/msgBoard.js"></script>
262262
<script src="js/app.js"></script>
263+
264+
<script type="text/javascript">
265+
var host = "quickblox.github.io";
266+
if ((host == window.location.host) && (window.location.protocol != "https:"))
267+
window.location.protocol = "https";
268+
</script>
263269
</body>
264270
</html>

0 commit comments

Comments
 (0)