Skip to content

Commit

Permalink
remove development configuration values
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptkeeper committed May 6, 2020
1 parent 49379ac commit ac06ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"pingAll": 3000,
"connectTimeout": 2500
},
"logToDatabase": true,
"logToDatabase": false,
"graphDuration": 86400000
}

0 comments on commit ac06ae8

Please sign in to comment.