mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-11 05:06:39 +00:00
fix tier and remove test interval
This commit is contained in:
@@ -59,8 +59,7 @@ type TokenPayload = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export class License {
|
export class License {
|
||||||
// private phoneHomeInterval = 6 * 60 * 60; // 6 hours = 6 * 60 * 60 = 21600 seconds
|
private phoneHomeInterval = 6 * 60 * 60; // 6 hours = 6 * 60 * 60 = 21600 seconds
|
||||||
private phoneHomeInterval = 30; // 30 seconds for testing
|
|
||||||
private serverBaseUrl = "https://api.fossorial.io";
|
private serverBaseUrl = "https://api.fossorial.io";
|
||||||
private validationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/validate`;
|
private validationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/validate`;
|
||||||
private activationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/activate`;
|
private activationServerUrl = `${this.serverBaseUrl}/api/v1/license/enterprise/activate`;
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export function LicenseKeysDataTable({
|
|||||||
},
|
},
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const tier = row.original.tier;
|
const tier = row.original.tier;
|
||||||
tier === "enterprise"
|
return tier === "enterprise"
|
||||||
? t("licenseTierEnterprise")
|
? t("licenseTierEnterprise")
|
||||||
: t("licenseTierPersonal");
|
: t("licenseTierPersonal");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user