mirror of
https://github.com/unraid/api.git
synced 2026-04-19 13:52:19 -05:00
refactor: server state message formatting
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user