blob: 05e50e50ae3f592112b94d7a5831986d19758d8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/// <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",
providers: {
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY,
},
planetscale: "0.4.1",
},
}
},
async run() {
await import("./infra/app.js")
await import("./infra/cloud.js")
//await import("./infra/desktop.js")
},
})
|