release 5.3.1
This commit is contained in:
parent
4c2c8492b8
commit
49379acc77
@ -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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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 = () => {
|
||||
|
@ -9,6 +9,6 @@
|
||||
"pingAll": 3000,
|
||||
"connectTimeout": 2500
|
||||
},
|
||||
"logToDatabase": false,
|
||||
"logToDatabase": true,
|
||||
"graphDuration": 86400000
|
||||
}
|
||||
|
@ -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
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "minetrack",
|
||||
"version": "5.3.0",
|
||||
"version": "5.3.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user