From 4309c078fb83e81859a2ba72003a3e0c75e0a7c5 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 11 Dec 2025 00:11:40 -0500 Subject: domain --- infra/stage.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'infra/stage.ts') diff --git a/infra/stage.ts b/infra/stage.ts index 729422905..f9a6fd755 100644 --- a/infra/stage.ts +++ b/infra/stage.ts @@ -11,3 +11,9 @@ new cloudflare.RegionalHostname("RegionalHostname", { regionKey: "us", zoneId: zoneID, }) + +export const shortDomain = (() => { + if ($app.stage === "production") return "opncd.ai" + if ($app.stage === "dev") return "dev.opncd.ai" + return `${$app.stage}.dev.opncd.ai` +})() -- cgit v1.2.3