summaryrefslogtreecommitdiffhomepage
path: root/infra/console.ts
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-11-03 15:43:52 -0500
committerFrank <[email protected]>2025-11-03 15:44:06 -0500
commit05232ead938b7cc7dcf75afa9470effef0ed4251 (patch)
tree6005e5686e1bd6a525d90387b8932d345d4846b1 /infra/console.ts
parent7652a9606413f0d6e9af2c65aeee692c44996006 (diff)
downloadopencode-05232ead938b7cc7dcf75afa9470effef0ed4251.tar.gz
opencode-05232ead938b7cc7dcf75afa9470effef0ed4251.zip
zen: wip
Diffstat (limited to 'infra/console.ts')
-rw-r--r--infra/console.ts14
1 files changed, 11 insertions, 3 deletions
diff --git a/infra/console.ts b/infra/console.ts
index 281bafad4..7fbf92bfd 100644
--- a/infra/console.ts
+++ b/infra/console.ts
@@ -61,7 +61,13 @@ export const auth = new sst.cloudflare.Worker("AuthApi", {
domain: `auth.${domain}`,
handler: "packages/console/function/src/auth.ts",
url: true,
- link: [database, authStorage, GITHUB_CLIENT_ID_CONSOLE, GITHUB_CLIENT_SECRET_CONSOLE, GOOGLE_CLIENT_ID],
+ link: [
+ database,
+ authStorage,
+ GITHUB_CLIENT_ID_CONSOLE,
+ GITHUB_CLIENT_SECRET_CONSOLE,
+ GOOGLE_CLIENT_ID,
+ ],
})
////////////////
@@ -97,7 +103,8 @@ export const stripeWebhook = new stripe.WebhookEndpoint("StripeWebhookEndpoint",
],
})
-const ZEN_MODELS = new sst.Secret("ZEN_MODELS")
+const ZEN_MODELS1 = new sst.Secret("ZEN_MODELS1")
+const ZEN_MODELS2 = new sst.Secret("ZEN_MODELS2")
const STRIPE_SECRET_KEY = new sst.Secret("STRIPE_SECRET_KEY")
const AUTH_API_URL = new sst.Linkable("AUTH_API_URL", {
properties: { value: auth.url.apply((url) => url!) },
@@ -130,7 +137,8 @@ new sst.cloudflare.x.SolidStart("Console", {
AUTH_API_URL,
STRIPE_WEBHOOK_SECRET,
STRIPE_SECRET_KEY,
- ZEN_MODELS,
+ ZEN_MODELS1,
+ ZEN_MODELS2,
EMAILOCTOPUS_API_KEY,
AWS_SES_ACCESS_KEY_ID,
AWS_SES_SECRET_ACCESS_KEY,