summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-07-03 09:58:25 -0400
committerDax Raad <[email protected]>2025-07-03 09:58:25 -0400
commitaeea84a87762e94e5903942e8ef0727be9c159a5 (patch)
treecd44c3e6a2df97d538f5faf7e39e9bd5f846db0d /infra
parenta54c5c629802a5645a116c2a1542386cfde029d2 (diff)
downloadopencode-aeea84a87762e94e5903942e8ef0727be9c159a5.tar.gz
opencode-aeea84a87762e94e5903942e8ef0727be9c159a5.zip
fix webdomain
Diffstat (limited to 'infra')
-rw-r--r--infra/app.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/infra/app.ts b/infra/app.ts
index 1123e3a6b..834936b71 100644
--- a/infra/app.ts
+++ b/infra/app.ts
@@ -9,6 +9,9 @@ const bucket = new sst.cloudflare.Bucket("Bucket")
export const api = new sst.cloudflare.Worker("Api", {
domain: `api.${domain}`,
handler: "packages/function/src/api.ts",
+ environment: {
+ WEB_DOMAIN: domain,
+ },
url: true,
link: [bucket],
transform: {