diff --git a/astro.config.mjs b/astro.config.mjs index 7ae8546..485e723 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -50,10 +50,6 @@ function emitRedirectsFile() { const variants = from.endsWith('/') ? [from] : [from, `${from}/`]; return variants.map((path) => `${path} ${to} 301`); }); - // Old Docusaurus sitemap location, still registered with search - // engines. Edge-only (not in the Astro redirects map): an HTML - // meta-refresh page is useless to XML consumers. - lines.push('/sitemap.xml /sitemap-index.xml 301'); fs.writeFileSync(new URL('_redirects', dir), `${lines.join('\n')}\n`); }, },