diff options
| author | Joe Carstairs <me@joeac.net> | 2026-03-24 22:01:38 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-03-24 22:01:38 +0000 |
| commit | 579c31b7c7d68110c76d37fa8812242201447ce2 (patch) | |
| tree | ed9a73355fb4983ddbfe5fc3041650793e7859b3 /website/astro.config.mjs | |
| parent | 782c3df3d32b1023f58ed368d772f2129d988ec6 (diff) | |
redirects old blog posts to new
Diffstat (limited to 'website/astro.config.mjs')
| -rw-r--r-- | website/astro.config.mjs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/website/astro.config.mjs b/website/astro.config.mjs index dc879a6..c04914d 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -3,9 +3,10 @@ import db from "@astrojs/db"; import gemtext from "astro-gemtext"; import mdx from "@astrojs/mdx"; import node from "@astrojs/node"; - import sitemap from "@astrojs/sitemap"; +import redirects from "./redirects.mjs"; + // https://astro.build/config export default defineConfig({ adapter: node({ @@ -34,6 +35,7 @@ export default defineConfig({ image: { service: passthroughImageService(), }, + redirects, site: "https://joeac.net", integrations: [db(), gemtext(), mdx(), sitemap()], }); |
