Skip to content

Commit 217430c

Browse files
committed
feat(www): domain mapping
1 parent ce32b53 commit 217430c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎sites/www/alchemy.run.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default Alchemy.Stack(
1414

1515
const site = yield* Cloudflare.Website.StaticSite("Website", {
1616
name: "www",
17+
domain: { name: "codework.sh", redirects: ["www.codework.sh"] },
1718
command: "pnpm run build",
1819
outdir: "dist",
1920
});

‎sites/www/astro.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { defineConfig } from "astro/config";
77
import { rehypeCode, remarkHeading, remarkStructure } from "fumadocs-core/mdx-plugins";
88

99
export default defineConfig({
10-
site: "https://www.codework.sh",
10+
site: "https://codework.sh",
1111
// Pages moved when the docs were regrouped by feature; old links keep working.
1212
redirects: {
1313
"/docs/cli/acp": "/docs/integrations/acp",

‎sites/www/public/robots.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
User-agent: *
22
Allow: /
33

4-
Sitemap: https://www.codework.sh/sitemap-index.xml
4+
Sitemap: https://codework.sh/sitemap-index.xml

0 commit comments

Comments
 (0)