Skip to content

Commit b3586a4

Browse files
committed
chore: check routing configuration
1 parent 63d5d59 commit b3586a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nuxt.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ export default defineNuxtConfig({
135135
// pages
136136
'/package/:name': getISRConfig(60, { fallback: 'html' }),
137137
'/package/:name/_payload.json': getISRConfig(60, { fallback: 'json' }),
138-
'/package/:name/v/:version': getISRConfig(60, { fallback: 'html' }),
138+
'/package/:name/v/:version': getISRConfig(60, { fallback: 'html' }), // todo22 check conflict
139139
'/package/:name/v/:version/_payload.json': getISRConfig(60, { fallback: 'json' }),
140-
'/package/:org/:name': getISRConfig(60, { fallback: 'html' }),
141-
'/package/:org/:name/_payload.json': getISRConfig(60, { fallback: 'json' }),
140+
// '/package/:org/:name': getISRConfig(60, { fallback: 'html' }),
141+
// '/package/:org/:name/_payload.json': getISRConfig(60, { fallback: 'json' }), // todo22 check conflict
142142
'/package/:org/:name/v/:version': getISRConfig(60, { fallback: 'html' }),
143143
'/package/:org/:name/v/:version/_payload.json': getISRConfig(60, { fallback: 'json' }),
144144
// infinite cache (versioned - doesn't change)

0 commit comments

Comments
 (0)