docs: canonical url
This commit is contained in:
parent
da909d9684
commit
0f93ecd564
3 changed files with 7 additions and 6 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue