Skip to content

Commit

Permalink
chore(nuxt.config): 🔧 Always Fresh Index Page (testing)
Browse files Browse the repository at this point in the history
Make ISR mode for index page no caching, always revalidated
  • Loading branch information
bKoZii committed Aug 25, 2024
1 parent eaaf7ec commit 6638713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default defineNuxtConfig({
ssr: true,

routeRules: {
'/': { isr: true },
'/': { isr: false },
'/blog': { isr: true },
'/blog/**': { isr: true }
},
Expand Down Expand Up @@ -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
Expand Down

1 comment on commit 6638713

@vercel
Copy link

@vercel vercel bot commented on 6638713 Aug 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.