Skip to content

Commit

Permalink
Merge branch 'main' into tv-me-data-fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie authored Mar 26, 2024
2 parents 850669e + 0218094 commit 674c257
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ export default defineNuxtModule({
permalinks.push(...episodes.map((ep) => `/tv/${ep.season.show.slug}/${ep.slug}`));
permalinks.push(...events.map((ev) => `/tv/live/${ev.slug}`));

// Add RSS feed to prerender
permalinks.push('/rss.xml');

for (const link of permalinks) {
extendRouteRules(withoutTrailingSlash(link), {
prerender: true,
Expand Down

0 comments on commit 674c257

Please sign in to comment.