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