diff --git a/assets/js/socket.js b/assets/js/socket.js index 369d436..256e9a0 100644 --- a/assets/js/socket.js +++ b/assets/js/socket.js @@ -15,7 +15,7 @@ export class SocketManager { webSocketProtocol = 'wss:' } - this._webSocket = new WebSocket(webSocketProtocol + '//' + location.hostname + ':8080') + this._webSocket = new WebSocket(webSocketProtocol + '//' + location.host) // The backend will automatically push data once connected this._webSocket.onopen = () => { diff --git a/config.json b/config.json index 0a11b03..3fd9359 100644 --- a/config.json +++ b/config.json @@ -9,6 +9,6 @@ "pingAll": 3000, "connectTimeout": 2500 }, - "logToDatabase": true, + "logToDatabase": false, "graphDuration": 86400000 }