summaryrefslogtreecommitdiffhomepage
path: root/packages/web
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 /packages/web
parent4a6e36a4041a5b7c8e24e5b02970aa70c47cd3a5 (diff)
downloadopencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.tar.gz
opencode-ea9dd4e9e251427d983c1cf3d44dec1311305c4b.zip
share ssr
Diffstat (limited to 'packages/web')
-rw-r--r--packages/web/astro.config.mjs3
-rw-r--r--packages/web/package.json1
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",