From 66387133476783e640e84e91eec66fc7d78c0146 Mon Sep 17 00:00:00 2001 From: Konkamon Sion Date: Sun, 25 Aug 2024 19:02:05 +0700 Subject: [PATCH] chore(nuxt.config): :wrench: Always Fresh Index Page (testing) Make ISR mode for index page no caching, always revalidated --- nuxt.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index a9e4dd9..d6d1dd6 100755 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -7,7 +7,7 @@ export default defineNuxtConfig({ ssr: true, routeRules: { - '/': { isr: true }, + '/': { isr: false }, '/blog': { isr: true }, '/blog/**': { isr: true } }, @@ -73,7 +73,7 @@ export default defineNuxtConfig({ highlight: { langs: ['shell', 'sh', 'typescript', 'python', 'java', 'php', 'html', 'css', 'javascript', 'json', 'sql', 'console'], theme: 'one-dark-pro', - wrapperStyle: true + wrapperStyle: true, }, headings: { anchorLinks: false