Skip to content

Commit d0311ec

Browse files
committed
Don't raise error when there are unseen routes
1 parent 8164379 commit d0311ec

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

svelte.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,17 @@ const config = {
8686
kit: {
8787
adapter: adapter({ fallback: "404.html" }),
8888
prerender: {
89-
handleMissingId: "warn",
9089
entries: [
9190
"/api/posts.json/",
92-
"/api/posts/nav/[slug]",
9391
"/api/posts/count/",
94-
"/api/posts/page/[page]/",
9592
"/api/rss.xml/",
9693
"/blog/",
9794
"/blog/category/",
98-
"/blog/category/[category]/page",
9995
"/blog/page",
10096
"/blog/post",
10197
],
98+
handleMissingId: "warn",
99+
handleUnseenRoutes: "warn",
102100
},
103101
},
104102
};

0 commit comments

Comments
 (0)