From ac06ae884e59e4516c4c9e0d73e955688fe11865 Mon Sep 17 00:00:00 2001 From: Nick Krecklow Date: Tue, 5 May 2020 23:47:04 -0500 Subject: [PATCH] remove development configuration values --- assets/js/socket.js | 2 +- config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }