refactor: server state message formatting

This commit is contained in:
Zack Spear
2023-07-07 15:32:07 -07:00
committed by Zack Spear
parent aeca7bbc2b
commit 57b5cc462b
4 changed files with 28 additions and 26 deletions

View File

@@ -29,7 +29,7 @@ const blacklistedGuid = '154B-00EE-0700-9B50CF819816';
// EBLACKLISTED1
// EBLACKLISTED2
// ENOCONN
const state: string = 'ENOKEYFILE';
const state: string = 'ENOCONN';
const uptime = Date.now() - 60 * 60 * 1000; // 1 hour ago
let expireTime = 0;
@@ -52,8 +52,8 @@ const serverState = {
"locale": "en_US",
"name": "fuji",
// "pluginInstalled": "dynamix.unraid.net.staging.plg",
"pluginInstalled": false,
"registered": true,
"pluginInstalled": true,
"registered": false,
"regGen": 0,
// "regGuid": "0781-5583-8355-81071A2B0211",
"site": "http://localhost:4321",