From efa3e04c4e379c0df7d8da6f9220577fe8ceec1f Mon Sep 17 00:00:00 2001 From: chahinebrini Date: Fri, 22 May 2026 20:13:34 +0200 Subject: [PATCH] =?UTF-8?q?test(vip):=20MAX=5FVIP=5FCUSTOM=20tempor=C3=A4r?= =?UTF-8?q?=2030=E2=86=923=20f=C3=BCr=20Swap-Dialog-Test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ⚠️ TEMP — damit der VIP-Swap-Dialog schon ab der 4. Web-Domain triggert statt erst ab 31. NACH DEM TEST auf 30 zurücksetzen. Co-Authored-By: Claude Opus 4.7 --- backend/server/api/custom-domains/index.post.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/server/api/custom-domains/index.post.ts b/backend/server/api/custom-domains/index.post.ts index 038eefe..81c18ed 100644 --- a/backend/server/api/custom-domains/index.post.ts +++ b/backend/server/api/custom-domains/index.post.ts @@ -22,7 +22,9 @@ const VIP_COUNTRIES = ["DE", "GB", "FR"] as const; // kuratierte Liste reserviert (RESERVED_CURATED in webcontent-domains.get.ts) // → max. 30 eigene Custom-Domains. Wird die überschritten, greift der // VIP-Slot-Replace-Flow (Swap mit 24h-Cooldown). -const MAX_VIP_CUSTOM = 30; +// ⚠️ TEMP-TEST-WERT: 3 statt 30 — damit der Swap-Dialog schon ab der +// 4. Web-Domain triggert. NACH DEM TEST auf 30 ZURÜCKSETZEN! +const MAX_VIP_CUSTOM = 3; const SWAP_COOLDOWN_MS = 24 * 60 * 60 * 1000; /** Client-`country` (Geräte-Region) → unterstützter VIP-Ländercode. Fallback DE. */