Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -51,7 +51,7 @@
|
|
51 |
|
52 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
|
53 |
<script>
|
54 |
-
const socket = io.connect('http://' + document.domain + ':' + location.port);
|
55 |
const startRecordingButton = document.getElementById('startRecording');
|
56 |
const outputDiv = document.getElementById('output');
|
57 |
let mediaRecorder;
|
|
|
51 |
|
52 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
|
53 |
<script>
|
54 |
+
const socket = io.connect('http://' + document.domain + ':' + location.port, {secure: true});
|
55 |
const startRecordingButton = document.getElementById('startRecording');
|
56 |
const outputDiv = document.getElementById('output');
|
57 |
let mediaRecorder;
|