|
|
@@ -9,13 +9,10 @@ import { rehypeHeadingIds } from "@astrojs/markdown-remark"
|
|
|
import rehypeAutolinkHeadings from "rehype-autolink-headings"
|
|
|
|
|
|
const github = "https://github.com/sst/opencode"
|
|
|
-const stage = process.env.SST_STAGE || "dev"
|
|
|
|
|
|
// https://astro.build/config
|
|
|
export default defineConfig({
|
|
|
- site: stage === "production"
|
|
|
- ? `https://${config.domain}`
|
|
|
- : `https://${stage}.${config.domain}`,
|
|
|
+ site: config.url,
|
|
|
output: "server",
|
|
|
adapter: cloudflare({
|
|
|
imageService: "passthrough",
|