Spaces:
Runtime error
Runtime error
change socket paths
Browse files- templates/chat.html +2 -2
templates/chat.html
CHANGED
@@ -395,7 +395,7 @@
|
|
395 |
<script>
|
396 |
|
397 |
// Initialize Socket.IO client
|
398 |
-
var socket = io.connect('
|
399 |
transports: ['websocket']
|
400 |
});
|
401 |
|
@@ -567,7 +567,7 @@
|
|
567 |
console.warn("Disconnected from server:", reason);
|
568 |
response = "";
|
569 |
// appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
|
570 |
-
socket = io.connect('
|
571 |
transports: ['websocket']
|
572 |
});
|
573 |
});
|
|
|
395 |
<script>
|
396 |
|
397 |
// Initialize Socket.IO client
|
398 |
+
var socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
|
399 |
transports: ['websocket']
|
400 |
});
|
401 |
|
|
|
567 |
console.warn("Disconnected from server:", reason);
|
568 |
response = "";
|
569 |
// appendAnswer("You have been disconnected from the server. Please refresh the page to reconnect.");
|
570 |
+
socket = io.connect('https://ritesh-hf-adafsa-flask-app-demo.hf.space', {
|
571 |
transports: ['websocket']
|
572 |
});
|
573 |
});
|