[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: update route rules for auth

+3
+3
nuxt.config.ts
··· 94 94 '/opensearch.xml': { isr: true }, 95 95 '/**': { isr: 60 }, 96 96 '/package/**': { isr: 60 }, 97 + // never cache 97 98 '/search': { isr: false, cache: false }, 99 + '/api/auth/**': { isr: false, cache: false }, 98 100 // infinite cache (versioned - doesn't change) 99 101 '/code/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, 100 102 '/api/registry/docs/**': { isr: true, cache: { maxAge: 365 * 24 * 60 * 60 } }, ··· 103 105 // static pages 104 106 '/about': { prerender: true }, 105 107 '/settings': { prerender: true }, 108 + '/oauth-client-metadata.json': { prerender: true }, 106 109 // proxy for insights 107 110 '/_v/script.js': { proxy: 'https://npmx.dev/_vercel/insights/script.js' }, 108 111 '/_v/view': { proxy: 'https://npmx.dev/_vercel/insights/view' },