Skip to content

Commit aa809a4

Browse files
CopilotTechWatching
andcommitted
Fix RSS and Atom feeds returning 404 by adding explicit prerender routes
Co-authored-by: TechWatching <15186176+TechWatching@users.noreply.github.com>
1 parent a1f301b commit aa809a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default defineNuxtConfig({
6969
// Prerender all routes at build time for static hosting
7070
nitro: {
7171
prerender: {
72-
routes: ['/'],
72+
routes: ['/', '/feed.rss', '/feed.atom', '/dotnet_feed.rss', '/dotnet_feed.atom'],
7373
crawlLinks: true,
7474
failOnError: false
7575
}

0 commit comments

Comments
 (0)