Spaces:
Runtime error
Runtime error
Update static/scripts/app.js
Browse files- static/scripts/app.js +1 -1
static/scripts/app.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
document.addEventListener('DOMContentLoaded', () => {
|
2 |
-
const ws = new WebSocket('ws://
|
3 |
|
4 |
ws.onmessage = (event) => {
|
5 |
const messageDiv = document.getElementById('message');
|
|
|
1 |
document.addEventListener('DOMContentLoaded', () => {
|
2 |
+
const ws = new WebSocket('ws://0.0.0.0:7860/ws');
|
3 |
|
4 |
ws.onmessage = (event) => {
|
5 |
const messageDiv = document.getElementById('message');
|