diff --git a/cloud/infra/stage.ts b/cloud/infra/stage.ts new file mode 100644 index 00000000..278766ec --- /dev/null +++ b/cloud/infra/stage.ts @@ -0,0 +1,5 @@ +export const domain = (() => { + if ($app.stage === "production") return "nestri.io" + if ($app.stage === "dev") return "dev.nestri.io" + return `${$app.stage}.dev.nestri.io` +})()