mirror of
https://github.com/aljazceru/opencode.git
synced 2026-01-07 09:54:56 +01:00
sync
This commit is contained in:
18
sst.config.ts
Normal file
18
sst.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/// <reference path="./.sst/platform/config.d.ts" />
|
||||
|
||||
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,
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user