summaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-06-05 15:37:17 -0400
committerJay V <[email protected]>2025-06-05 15:37:23 -0400
commitea9dd4e9e251427d983c1cf3d44dec1311305c4b (patch)
treee2adf37dcfbae197caeda007b2c9e796c1f674a0 /infra
parent4a6e36a4041a5b7c8e24e5b02970aa70c47cd3a5 (diff)
downloadopencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.tar.gz
opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.zip
share ssr
Diffstat (limited to 'infra')
-rw-r--r--infra/app.ts19
1 files changed, 13 insertions, 6 deletions
diff --git a/infra/app.ts b/infra/app.ts
index 73b80994d..ca4d86799 100644
--- a/infra/app.ts
+++ b/infra/app.ts
@@ -31,14 +31,21 @@ export const api = new sst.cloudflare.Worker("Api", {
},
})
-new sst.cloudflare.StaticSite("Web", {
- path: "packages/web",
+// new sst.cloudflare.StaticSite("Web", {
+// path: "packages/web",
+// domain,
+// environment: {
+// VITE_API_URL: api.url,
+// },
+// build: {
+// command: "bun run build",
+// output: "dist",
+// },
+// })
+new sst.cloudflare.Astro("Web", {
domain,
+ path: "packages/web",
environment: {
VITE_API_URL: api.url,
},
- build: {
- command: "bun run build",
- output: "dist",
- },
})