We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 856d168 commit 925227fCopy full SHA for 925227f
1 file changed
client/src/components/note.jsx
@@ -316,8 +316,11 @@ export default function NoteApp() {
316
}, [localUsername, roomName]);
317
318
useEffect(() => {
319
+ console.log('Connecting to:', process.env.REACT_APP_SIGNALING_SERVER_URL);
320
socketRef.current = socketio(process.env.REACT_APP_SIGNALING_SERVER_URL, {
- transports: ['polling']
321
+ transports: ['websocket', 'polling'],
322
+ upgrade: true,
323
+ rememberUpgrade: true
324
});
325
326
// Handle page refresh/close - cleanup WebRTC connections
0 commit comments