| 12345678910111213141516171819202122 |
- /// <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")
- },
- })
|