File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,10 @@ export default defineNuxtConfig({
134134 } ,
135135 } ,
136136 // pages
137- '/package/:name' : getISRConfig ( 60 ) ,
138- '/package/:name/v/:version' : getISRConfig ( 60 ) ,
139- '/package/:org/:name' : getISRConfig ( 60 ) ,
140- '/package/:org/:name/v/:version' : getISRConfig ( 60 ) ,
137+ '/package/:name' : getISRConfig ( 60 , { fallback : 'html' } ) ,
138+ '/package/:name/v/:version' : getISRConfig ( 60 , { fallback : 'html' } ) ,
139+ '/package/:org/:name' : getISRConfig ( 60 , { fallback : 'html' } ) ,
140+ '/package/:org/:name/v/:version' : getISRConfig ( 60 , { fallback : 'html' } ) ,
141141 // infinite cache (versioned - doesn't change)
142142 '/package-code/**' : { isr : true , cache : { maxAge : 365 * 24 * 60 * 60 } } ,
143143 '/package-docs/**' : { isr : true , cache : { maxAge : 365 * 24 * 60 * 60 } } ,
You can’t perform that action at this time.
0 commit comments