aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-26 17:20:03 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-26 17:20:03 -0700
commit698e27607bddd10a2f5b10a5ff07692a3d1f4ae0 (patch)
treee51d3af0f650f76aff882faafd51c08aea9e53d2 /modern
parent02af1dc85084d46bd57bb2cc89d8b5aa9103ac9f (diff)
downloadetbsa-traccar-web-698e27607bddd10a2f5b10a5ff07692a3d1f4ae0.tar.gz
etbsa-traccar-web-698e27607bddd10a2f5b10a5ff07692a3d1f4ae0.tar.bz2
etbsa-traccar-web-698e27607bddd10a2f5b10a5ff07692a3d1f4ae0.zip
Remove move logging
Diffstat (limited to 'modern')
-rw-r--r--modern/src/SocketController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/SocketController.js b/modern/src/SocketController.js
index f0d70ce..cda693a 100644
--- a/modern/src/SocketController.js
+++ b/modern/src/SocketController.js
@@ -31,7 +31,7 @@ const SocketController = () => {
const socket = new WebSocket(protocol + '//' + window.location.host + '/api/socket');
socket.onclose = () => {
- setTimeout(() => {console.log('socket reconnection try');connectSocket()}, 60 * 1000);
+ setTimeout(() => connectSocket(), 60 * 1000);
};
socket.onmessage = (event) => {