Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0144c72

Browse files
authoredJan 27, 2025··
Add TV routes to prerender (#181)
1 parent ddb79ab commit 0144c72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎modules/prerender.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ export default defineNuxtModule({
7979
permalinks.push(...shows.map((show) => `/tv/${show.slug}`));
8080
permalinks.push(...episodes.map((ep) => `/tv/${ep.season.show.slug}/${ep.slug}`));
8181

82+
permalinks.push('/tv/all');
83+
permalinks.push('/tv');
84+
permalinks.push('/tv/live');
85+
8286
// Add RSS feed to prerender
8387
permalinks.push('/rss.xml');
8488

0 commit comments

Comments
 (0)
Please sign in to comment.