MarfinF commited on
Commit
a596074
·
1 Parent(s): 0d79f5c

- update frontend fixable ws port

Browse files
Files changed (1) hide show
  1. frontend/index.html +1 -1
frontend/index.html CHANGED
@@ -177,7 +177,7 @@
177
  return;
178
  }
179
 
180
- ws = new WebSocket(`${location.protocol === 'https:' ? 'wss' : 'ws'}://${location.host}/chat/${username}`);
181
 
182
  document.getElementById("music-player").addEventListener("play", () => {
183
  musicStatus = "playing"
 
177
  return;
178
  }
179
 
180
+ ws = new WebSocket(`ws://localhost:7860/chat/${username}`);
181
 
182
  document.getElementById("music-player").addEventListener("play", () => {
183
  musicStatus = "playing"