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 /packages/web | |
| parent | 4a6e36a4041a5b7c8e24e5b02970aa70c47cd3a5 (diff) | |
| download | opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.tar.gz opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.zip | |
share ssr
Diffstat (limited to 'packages/web')
| -rw-r--r-- | packages/web/astro.config.mjs | 3 | ||||
| -rw-r--r-- | packages/web/package.json | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index fca513751..9fe978171 100644 --- a/packages/web/astro.config.mjs +++ b/packages/web/astro.config.mjs @@ -1,4 +1,5 @@ // @ts-check +import aws from "astro-sst" import { defineConfig } from "astro/config" import starlight from "@astrojs/starlight" import solidJs from "@astrojs/solid-js" @@ -11,6 +12,8 @@ const github = "https://github.com/sst/opencode" // https://astro.build/config export default defineConfig({ + output: "server", + adapter: aws(), devToolbar: { enabled: false, }, diff --git a/packages/web/package.json b/packages/web/package.json index 802f1100b..e1a114643 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -18,6 +18,7 @@ "@types/luxon": "3.6.2", "ai": "catalog:", "astro": "5.7.13", + "astro-sst": "3.1.4", "diff": "8.0.2", "luxon": "3.6.1", "rehype-autolink-headings": "7.1.0", |
