From ed1dc341121c4dfbd66f2c3de89ab0d06dea7fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1muel=20Fekete?= Date: Sun, 4 Feb 2024 10:44:21 +0100 Subject: [PATCH] no caching --- src/models/get-index-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/get-index-data.ts b/src/models/get-index-data.ts index 860ea13..a6411cf 100644 --- a/src/models/get-index-data.ts +++ b/src/models/get-index-data.ts @@ -1,7 +1,7 @@ import { IndexPageData } from './models'; export async function getIndexData(): Promise { - const res = await fetch(`${process.env.BACKEND_URL}/conference/index`, { next: { revalidate: 30 * 60 } }); + const res = await fetch(`${process.env.BACKEND_URL}/conference/index`, { cache: 'no-store' }); if (!res.ok) { console.error(res); return;