mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 13:21:17 +08:00
6 lines
186 B
TypeScript
6 lines
186 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`
|
|
})()
|