From 55a57eaede32ff4cbd72474df49d9d9dad82d085 Mon Sep 17 00:00:00 2001 From: Aiden Foxx Date: Tue, 22 Jun 2021 15:20:04 +0200 Subject: [PATCH] Update admin to use no-store (#6421) Prevents cache issues after updating records --- app/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/api.ts b/app/src/api.ts index 5c2cd5cbfb..e26e325abe 100644 --- a/app/src/api.ts +++ b/app/src/api.ts @@ -8,7 +8,7 @@ const api = axios.create({ baseURL: getRootPath(), withCredentials: true, headers: { - 'Cache-Control': 'no-cache', + 'Cache-Control': 'no-store', }, });