Olivier Massot преди 1 година
родител
ревизия
93d80501e6
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      nuxt.config.ts

+ 2 - 2
nuxt.config.ts

@@ -30,8 +30,8 @@ export default defineNuxtConfig({
     // all routes will be generated at build time and cached permanently
     '/**': { prerender: true },
     // these pages will be background revalidated (ISR) at most every 60 seconds
-    '/actualites': { ssr: true },
-    '/actualites/**': { ssr: true },
+    '/actualites': { isr: 60 },
+    '/actualites/**': { isr: 60 },
     '/nous-rejoindre': { isr: 60 },
     '/nous-rejoindre/**': { isr: 60 },
   },