diff --git a/astro.config.ts b/astro.config.ts index c8d4f627d86dfa..5784d641b2b82f 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -167,8 +167,9 @@ export default defineConfig({ icon(), sitemap({ filter(page) { - return !page.startsWith( - "https://developers.cloudflare.com/style-guide/", + return ( + !page.startsWith("https://developers.cloudflare.com/style-guide/") || + !page.endsWith("/404/") ); }, serialize(item) {