summaryrefslogtreecommitdiffhomepage
path: root/infra/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'infra/app.ts')
-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",
- },
})