diff --git a/nuxt.config.ts b/nuxt.config.ts index 7bd7d0b..a461b44 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -5,6 +5,8 @@ import { const routes = genPrerenderRoutesSync(defaultOptions()) +const hour = 60 * 60 + routes.push('/sitemap.xml', '/config') export default defineNuxtConfig({ @@ -42,6 +44,9 @@ export default defineNuxtConfig({ typescript: { shim: false }, + routeRules: { + '/**': { swr: 6 * hour, prerender: true} + }, nitro: { minify: true, prerender: {