diff options
| author | Frank <[email protected]> | 2025-06-07 23:46:53 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-06-07 23:46:56 -0400 |
| commit | 028d589ea01efbcf27bc5810f8f350358b788786 (patch) | |
| tree | b07df93d21e9a88fd36a800d14253ab2dbcf7a99 /packages/web | |
| parent | cdbdb96218e89307cd69eac87877163e2b1ffcea (diff) | |
| download | opencode-028d589ea01efbcf27bc5810f8f350358b788786.tar.gz opencode-028d589ea01efbcf27bc5810f8f350358b788786.zip | |
Infra: use Astro component
Diffstat (limited to 'packages/web')
| -rw-r--r-- | packages/web/astro.config.mjs | 6 | ||||
| -rw-r--r-- | packages/web/package.json | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/packages/web/astro.config.mjs b/packages/web/astro.config.mjs index 9fe978171..01aeead03 100644 --- a/packages/web/astro.config.mjs +++ b/packages/web/astro.config.mjs @@ -1,8 +1,8 @@ // @ts-check -import aws from "astro-sst" import { defineConfig } from "astro/config" import starlight from "@astrojs/starlight" import solidJs from "@astrojs/solid-js" +import cloudflare from "@astrojs/cloudflare" import theme from "toolbeam-docs-theme" import { rehypeHeadingIds } from "@astrojs/markdown-remark" import rehypeAutolinkHeadings from "rehype-autolink-headings" @@ -13,7 +13,9 @@ const github = "https://github.com/sst/opencode" // https://astro.build/config export default defineConfig({ output: "server", - adapter: aws(), + adapter: cloudflare({ + imageService: "passthrough", + }), devToolbar: { enabled: false, }, diff --git a/packages/web/package.json b/packages/web/package.json index cba5a4598..11e7fde91 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -10,6 +10,7 @@ "astro": "astro" }, "dependencies": { + "@astrojs/cloudflare": "^12.5.4", "@astrojs/markdown-remark": "6.3.1", "@astrojs/solid-js": "5.1.0", "@astrojs/starlight": "0.34.3", @@ -18,7 +19,6 @@ "@types/luxon": "3.6.2", "ai": "catalog:", "astro": "5.7.13", - "astro-sst": "3.1.4", "diff": "8.0.2", "luxon": "3.6.1", "marked": "15.0.12", @@ -29,7 +29,8 @@ "toolbeam-docs-theme": "0.2.4" }, "devDependencies": { + "@types/node": "catalog:", "typescript": "catalog:", - "@types/node": "catalog:" + "wrangler": "4.19.1" } } |
