Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions src/lib/sitemap-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,11 @@ async function buildFullSitemap(): Promise<MetadataRoute.Sitemap> {
priority: 0.85,
};
} catch {
return {
url: `${SITE.url}/chains/${c.slug}`,
lastModified: catalogTs,
changeFrequency: "daily" as const,
priority: 0.85,
};
// Fail-safe: if we can't verify this chain has benches, omit it.
// Emitting unverified URLs causes smoke-test 404s that block every
// prod deploy. Chains with real bench data re-enter the sitemap on
// the next successful build.
return null;
}
}),
)
Expand Down
Loading