mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +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`
|
|
})()
|