diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-26 17:13:34 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-26 17:13:34 -0700 |
commit | 02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f (patch) | |
tree | dbc40012fb2995d3ddcd1baf8eae8cb08f1584ac /modern/src | |
parent | 57cf0db0f1c027bc21b2a921b170aef718a9e451 (diff) | |
download | trackermap-web-02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f.tar.gz trackermap-web-02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f.tar.bz2 trackermap-web-02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f.zip |
Remove logging
Diffstat (limited to 'modern/src')
-rw-r--r-- | modern/src/SocketController.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js index c100df14..f0d70cee 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); }; |