From 188b5b377a245015a85d5f73cfccbe0ecfc219cc Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 01:24:59 +0000 Subject: [PATCH] Changes --- src/lib/api.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/api.ts b/src/lib/api.ts index 0921860..9128f1e 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -113,6 +113,8 @@ async function request( ): Promise { const headers: Record = { 'Content-Type': 'application/json', + 'Cache-Control': 'no-cache, no-store, must-revalidate', + 'Pragma': 'no-cache', ...(options.headers as Record), }; @@ -127,6 +129,7 @@ async function request( const response = await fetch(`${config.api.baseUrl}${endpoint}`, { ...options, headers, + cache: 'no-store', }); const json: ApiResponse = await response.json();