diff --git a/_data/serverState.ts b/_data/serverState.ts index 160f614be..8a23c6e81 100644 --- a/_data/serverState.ts +++ b/_data/serverState.ts @@ -29,7 +29,7 @@ const randomGuid = `1111-1111-${makeid(4)}-123412341234`; // this guid is regist // EBLACKLISTED1 // EBLACKLISTED2 // ENOCONN -const state: ServerState = 'ENOKEYFILE'; +const state: ServerState = 'ENOKEYFILE1'; const uptime = Date.now() - 60 * 60 * 1000; // 1 hour ago let expireTime = 0; @@ -37,7 +37,7 @@ if (state === 'TRIAL') { expireTime = Date.now() + 60 * 60 * 1000; } // in 1 hou if (state === 'EEXPIRED') { expireTime = uptime; } // 1 hour ago export const serverState: Server = { - apiKey: 'unupc_fab6ff6ffe51040595c6d9ffb63a353ba16cc2ad7d93f813a2e80a5810', + // apiKey: 'unupc_fab6ff6ffe51040595c6d9ffb63a353ba16cc2ad7d93f813a2e80a5810', avatar: 'https://source.unsplash.com/300x300/?portrait', config: { // error: 'INVALID', @@ -51,14 +51,14 @@ export const serverState: Server = { guid: randomGuid, // "guid": "0781-5583-8355-81071A2B0211", inIframe: false, - // keyfile: 'DUMMY_KEYFILE', + keyfile: 'DUMMY_KEYFILE', lanIp: '192.168.254.36', license: '', locale: 'en_US', // en_US, ja name: 'fuji', - // connectPluginInstalled: 'dynamix.unraid.net.staging.plg', - connectPluginInstalled: '', - registered: false, + connectPluginInstalled: 'dynamix.unraid.net.staging.plg', + // connectPluginInstalled: '', + registered: true, regGen: 0, // "regGuid": "0781-5583-8355-81071A2B0211", site: 'http://localhost:4321', diff --git a/components/Auth.ce.vue b/components/Auth.ce.vue index 4d5866496..654577b0f 100644 --- a/components/Auth.ce.vue +++ b/components/Auth.ce.vue @@ -20,6 +20,7 @@ const { authAction, stateData } = storeToRefs(serverStore); void; + disabled?: boolean; download?: boolean; external?: boolean; href?: string; @@ -36,11 +37,12 @@ const classes = computed(() => {