release 5.3.1

This commit is contained in:
Nick Krecklow 2020-05-05 23:45:04 -05:00
parent 4c2c8492b8
commit 49379acc77
No known key found for this signature in database
GPG Key ID: 5F149FDE156FFA94
6 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,13 @@
const MOJANG_STATUS_BASE_CLASS = 'header-button header-button-group'
const MOJANG_SERVICE_NAMES = ['Auth', 'Sessions', 'API', 'Skins']
export class MojangUpdater {
updateStatus (services) {
for (const name of Object.keys(services)) {
this.updateServiceStatus(name, services[name])
for (const name of MOJANG_SERVICE_NAMES) {
if (services[name]) {
this.updateServiceStatus(name, services[name])
}
}
}

View File

@ -15,7 +15,7 @@ export class SocketManager {
webSocketProtocol = 'wss:'
}
this._webSocket = new WebSocket(webSocketProtocol + '//' + location.host)
this._webSocket = new WebSocket(webSocketProtocol + '//' + location.hostname + ':8080')
// The backend will automatically push data once connected
this._webSocket.onopen = () => {

View File

@ -9,6 +9,6 @@
"pingAll": 3000,
"connectTimeout": 2500
},
"logToDatabase": false,
"logToDatabase": true,
"graphDuration": 86400000
}

View File

@ -1,3 +1,6 @@
**5.3.1** *(May 5 2020)*
- Fixes Mojang service status indicators not updating after initial page load.
**5.3.0** *(May 5 2020)*
- Replaces socket.io library (and dependency) with vanilla WebSockets.
- Frontend reconnect behavior has been improved to use exponential backoff behavior (up to 30 seconds) with unlimited retries.

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "minetrack",
"version": "5.3.0",
"version": "5.3.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "minetrack",
"version": "5.3.0",
"version": "5.3.1",
"description": "A Minecraft server tracker that lets you focus on the basics.",
"main": "main.js",
"dependencies": {