From b2be2f68f53b382e2194080362e377b73489456e Mon Sep 17 00:00:00 2001 From: zomars Date: Wed, 20 Apr 2022 14:14:46 -0600 Subject: [PATCH] Updates license checker URL --- packages/ee/server/checkLicense.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ee/server/checkLicense.ts b/packages/ee/server/checkLicense.ts index a745985eb7..5629f05772 100644 --- a/packages/ee/server/checkLicense.ts +++ b/packages/ee/server/checkLicense.ts @@ -1,7 +1,7 @@ import cache from "memory-cache"; async function checkLicense(license: string): Promise { - const url = `https://cal.com/api/license?key=${license}`; + const url = `${process.env.NEXT_PUBLIC_CONSOLE_URL}/api/license?key=${license}`; const cachedResponse = cache.get(url); if (cachedResponse) { return cachedResponse;