aboutsummaryrefslogtreecommitdiff
path: root/modern/src/SocketController.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/SocketController.js')
-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 f915c99..6de3369 100644
--- a/modern/src/SocketController.js
+++ b/modern/src/SocketController.js
@@ -28,7 +28,7 @@ const SocketController = (props) => {
const socket = new WebSocket(protocol + '//' + window.location.host + '/api/socket');
socket.onclose = () => {
- setTimeout(() => this.connectSocket(), 60 * 1000);
+ setTimeout(() => connectSocket(), 60 * 1000);
};
socket.onmessage = (event) => {