Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +1 -1
templates/index.html
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
<button onclick="startRecognition()">Comenzar Reconocimiento</button>
|
9 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
|
10 |
<script>
|
11 |
-
const socket = io.connect('
|
12 |
|
13 |
socket.on('response', function (message) {
|
14 |
const output = document.getElementById('output');
|
|
|
8 |
<button onclick="startRecognition()">Comenzar Reconocimiento</button>
|
9 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.0.1/socket.io.js"></script>
|
10 |
<script>
|
11 |
+
const socket = io.connect('https://' + document.domain + ':' + location.port);
|
12 |
|
13 |
socket.on('response', function (message) {
|
14 |
const output = document.getElementById('output');
|