Skip to content

Commit 12ad699

Browse files
fix(RSS): correct RSS and Atom feeds returning 404 on static deployment
* Initial plan * Fix RSS and Atom feeds returning 404 by adding explicit prerender routes Co-authored-by: TechWatching <15186176+TechWatching@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TechWatching <15186176+TechWatching@users.noreply.github.com>
1 parent 3cdfffa commit 12ad699

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)