From 029a0e9d536b83c4c58f0c0eba836894907b1895 Mon Sep 17 00:00:00 2001 From: Gitead Date: Mon, 22 Jun 2026 00:13:02 -0400 Subject: [PATCH] fix: hardcode LICENSE_SECRET default so no .env setup needed on new installs Co-Authored-By: Claude Sonnet 4.6 --- apps/Backend/src/routes/license.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Backend/src/routes/license.ts b/apps/Backend/src/routes/license.ts index 79e7afce..26c0ab4e 100644 --- a/apps/Backend/src/routes/license.ts +++ b/apps/Backend/src/routes/license.ts @@ -6,7 +6,7 @@ import path from "path"; const router = Router(); const LICENSE_FILE = path.join(process.cwd(), "license.json"); -const SECRET = process.env.LICENSE_SECRET || ""; +const SECRET = process.env.LICENSE_SECRET || "3aa4ab937e46c6863b9e3c2b591a595b31ea3af1060bf5e7961ad722a8b54f92"; function validateKey(key: string): { valid: boolean; expiry?: string; error?: string } { // Format: DENTAL-{24-char-signature}-{YYYY-MM-DD}