summaryrefslogtreecommitdiffhomepage
path: root/sst.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sst.config.ts')
-rw-r--r--sst.config.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/sst.config.ts b/sst.config.ts
index c15fdabb6..44f984b93 100644
--- a/sst.config.ts
+++ b/sst.config.ts
@@ -7,13 +7,20 @@ export default $config({
removal: input?.stage === "production" ? "retain" : "remove",
protect: ["production"].includes(input?.stage),
home: "cloudflare",
+ providers: {
+ stripe: {
+ apiKey: process.env.STRIPE_SECRET_KEY,
+ },
+ },
}
},
async run() {
- const { api, gateway } = await import("./infra/app.js")
+ const { api } = await import("./infra/app.js")
+ const { auth, gateway } = await import("./infra/cloud.js")
return {
api: api.url,
gateway: gateway.url,
+ auth: auth.url,
}
},
})