From 02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 26 Jun 2021 17:13:34 -0700 Subject: Remove logging --- modern/src/SocketController.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js index c100df1..f0d70ce 100644 --- a/modern/src/SocketController.js +++ b/modern/src/SocketController.js @@ -27,12 +27,10 @@ const SocketController = () => { const authenticated = useSelector(state => !!state.session.user); const connectSocket = () => { - console.log('connect socket method invoked'); const protocol = window.location.protocol === 'https:' ? 'wss:' : 'ws:'; const socket = new WebSocket(protocol + '//' + window.location.host + '/api/socket'); socket.onclose = () => { - console.log('socket closed'); setTimeout(() => {console.log('socket reconnection try');connectSocket()}, 60 * 1000); }; -- cgit v1.2.3