mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 08:44:22 +01:00
14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
export const domain = (() => {
|
|
if ($app.stage === "production") return "opencode.ai"
|
|
if ($app.stage === "dev") return "dev.opencode.ai"
|
|
return `${$app.stage}.dev.opencode.ai`
|
|
})()
|
|
|
|
export const zoneID = "430ba34c138cfb5360826c4909f99be8"
|
|
|
|
new cloudflare.RegionalHostname("RegionalHostname", {
|
|
hostname: domain,
|
|
regionKey: "us",
|
|
zoneId: zoneID,
|
|
})
|