mirror of
https://github.com/a-sync/game-server-watcher.git
synced 2026-08-03 02:48:46 -04:00
default the server name to the configuration name
This commit is contained in:
@@ -83,7 +83,7 @@ export class GameServer {
|
||||
this.ip = '0.0.0.0';
|
||||
this.config = config;
|
||||
this.history = new ServerHistory(config.host + ':' + config.port, config.graphHistoryHours, config.timezoneOffset);
|
||||
this._niceName = config.host + ':' + config.port;
|
||||
this._niceName = String(config.name) || config.host + ':' + config.port;
|
||||
}
|
||||
|
||||
async update() {
|
||||
|
||||
Reference in New Issue
Block a user