Skip to content

Commit f458927

Browse files
author
Igor Khomenko
committed
Merge branch 'gh-pages' of github.com:QuickBlox/quickblox-javascript-sdk into gh-pages
2 parents 5f452f4 + 5a3e779 commit f458927

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

samples/webrtc/index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66

77
<title>QuickBlox JavaScript WebRTC sample</title>
8+
9+
<link rel="canonical" href="https://quickblox.github.io/quickblox-javascript-sdk/samples/webrtc" />
810

911
<link rel="shortcut icon" href="https://quickblox.com/favicon.ico">
1012

@@ -258,5 +260,11 @@ <h4>Call from <strong class="j-ic_initiator"></strong></h4>
258260
<script src="config.js"></script>
259261
<script src="js/msgBoard.js"></script>
260262
<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>
261269
</body>
262270
</html>

0 commit comments

Comments
 (0)