diff --git a/server/lib/config.ts b/server/lib/config.ts index f2ae7afc..a19b4a2a 100644 --- a/server/lib/config.ts +++ b/server/lib/config.ts @@ -323,7 +323,7 @@ export class Config { try { const response = await fetch( - "https://api.dev.fossorial.io/api/v1/license/validate", + "https://api.fossorial.io/api/v1/license/validate", { method: "POST", headers: { diff --git a/server/license/license.ts b/server/license/license.ts index 3f01effd..15941679 100644 --- a/server/license/license.ts +++ b/server/license/license.ts @@ -63,9 +63,9 @@ type TokenPayload = { export class License { private phoneHomeInterval = 6 * 60 * 60; // 6 hours = 6 * 60 * 60 = 21600 seconds private validationServerUrl = - "https://api.dev.fossorial.io/api/v1/license/professional/validate"; + "https://api.fossorial.io/api/v1/license/professional/validate"; private activationServerUrl = - "https://api.dev.fossorial.io/api/v1/license/professional/activate"; + "https://api.fossorial.io/api/v1/license/professional/activate"; private statusCache = new NodeCache({ stdTTL: this.phoneHomeInterval }); private licenseKeyCache = new NodeCache(); diff --git a/server/routers/supporterKey/validateSupporterKey.ts b/server/routers/supporterKey/validateSupporterKey.ts index 0f023ea6..fadcdc39 100644 --- a/server/routers/supporterKey/validateSupporterKey.ts +++ b/server/routers/supporterKey/validateSupporterKey.ts @@ -44,7 +44,7 @@ export async function validateSupporterKey( const { githubUsername, key } = parsedBody.data; const response = await fetch( - "https://api.dev.fossorial.io/api/v1/license/validate", + "https://api.fossorial.io/api/v1/license/validate", { method: "POST", headers: { diff --git a/src/components/SupporterStatus.tsx b/src/components/SupporterStatus.tsx index baeeb545..25da9b5f 100644 --- a/src/components/SupporterStatus.tsx +++ b/src/components/SupporterStatus.tsx @@ -204,7 +204,7 @@ export default function SupporterStatus() { Payments are processed via GitHub. Afterward, you can retrieve your key on{" "}