We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82f5466 commit 44c2367Copy full SHA for 44c2367
1 file changed
public/js/views/chat.js
@@ -385,7 +385,7 @@ async function connect() {
385
// Create the WebSocket URL
386
const wsProtocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:';
387
// Use port + 1 for WebSocket connections (the separate WebSocket server)
388
- const wsPort = parseInt(window.location.port || '80') + 1;
+ const wsPort = parseInt(window.location.port || '80');
389
const wsUrl = `${wsProtocol}//${host}:${wsPort}`;
390
391
addSystemMessage(`Connecting to ${wsUrl}...`);
0 commit comments