From ea9dd4e9e251427d983c1cf3d44dec1311305c4b Mon Sep 17 00:00:00 2001 From: Jay V Date: Thu, 5 Jun 2025 15:37:17 -0400 Subject: share ssr --- packages/web/astro.config.mjs | 3 +++ packages/web/package.json | 1 + 2 files changed, 4 insertions(+) (limited to 'packages') 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", -- cgit v1.2.3