From f3da73553c45f17e04b1e77cb13eb0fca714d1bd Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Fri, 30 May 2025 20:47:56 -0400 Subject: sync --- sst.config.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sst.config.ts (limited to 'sst.config.ts') diff --git a/sst.config.ts b/sst.config.ts new file mode 100644 index 000000000..4c36fea58 --- /dev/null +++ b/sst.config.ts @@ -0,0 +1,18 @@ +/// + +export default $config({ + app(input) { + return { + name: "opencode", + removal: input?.stage === "production" ? "retain" : "remove", + protect: ["production"].includes(input?.stage), + home: "cloudflare", + } + }, + async run() { + const { api } = await import("./infra/app.js") + return { + api: api.url, + } + }, +}) -- cgit v1.2.3