File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,6 @@ export default defineNuxtConfig({
77 nuxt . options . pwa . pwaAssets . disabled = true
88 }
99 } ,
10- function ( _ , nuxt ) {
11- nuxt . hook ( 'modules:done' , ( ) => {
12- nuxt . hook ( 'nitro:build:before' , ( nitro ) => {
13- nitro . options . ssrRoutes = [ ]
14- } )
15- } )
16- } ,
1710 '@unocss/nuxt' ,
1811 '@nuxt/eslint' ,
1912 '@nuxtjs/html-validator' ,
@@ -46,9 +39,8 @@ export default defineNuxtConfig({
4639
4740 routeRules : {
4841 '/' : { prerender : true } ,
49- '/package/**' : { isr : 60 } ,
50- '/~**' : { isr : 60 } ,
51- '/api/**' : { isr : 60 } ,
42+ '/**' : { isr : 60 } ,
43+ '/search' : { isr : false , cache : false } ,
5244 '/_v/script.js' : { proxy : 'https://npmx.dev/_vercel/insights/script.js' } ,
5345 '/_v/view' : { proxy : 'https://npmx.dev/_vercel/insights/view' } ,
5446 '/_v/event' : { proxy : 'https://npmx.dev/_vercel/insights/event' } ,
You can’t perform that action at this time.
0 commit comments