From 10ec0ac0505504bd5677d01af1e30310c837d419 Mon Sep 17 00:00:00 2001 From: Justin <57725347+juskek@users.noreply.github.com> Date: Wed, 23 Aug 2023 12:41:17 +0100 Subject: [PATCH] fix(app): stop caching to always get latest logs --- front/src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/src/app/page.tsx b/front/src/app/page.tsx index 4451fe90..daf9e069 100644 --- a/front/src/app/page.tsx +++ b/front/src/app/page.tsx @@ -2,6 +2,8 @@ import { LogsData } from "../data/LogsData"; import EmptyLogs from "./EmptyLogs"; import LogsTable from "./LogsTable"; +export const revalidate = 0; + export default async function Home() { const logs = await LogsData.getLogs();