Skip to content

Commit

Permalink
Add TV routes to prerender
Browse files Browse the repository at this point in the history
  • Loading branch information
LZylstra committed Jan 27, 2025
1 parent ddb79ab commit 95f2480
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ export default defineNuxtModule({
permalinks.push(...shows.map((show) => `/tv/${show.slug}`));
permalinks.push(...episodes.map((ep) => `/tv/${ep.season.show.slug}/${ep.slug}`));

permalinks.push('/tv/all');
permalinks.push('/tv');
permalinks.push('/tv/live');

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

Expand Down

0 comments on commit 95f2480

Please sign in to comment.