diff options
| author | Jay V <[email protected]> | 2025-06-05 15:37:17 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-06-05 15:37:23 -0400 |
| commit | ea9dd4e9e251427d983c1cf3d44dec1311305c4b (patch) | |
| tree | e2adf37dcfbae197caeda007b2c9e796c1f674a0 /infra | |
| parent | 4a6e36a4041a5b7c8e24e5b02970aa70c47cd3a5 (diff) | |
| download | opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.tar.gz opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.zip | |
share ssr
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/app.ts | 19 |
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", - }, }) |
