From 4f6b7cc5159925107b52af78d55968a01fbf2831 Mon Sep 17 00:00:00 2001 From: Faiq Naufal <43695578+faiq-naufal@users.noreply.github.com> Date: Fri, 19 Jul 2024 13:39:08 +0700 Subject: [PATCH] fix: use no-store cache to prevent storing cache (#114) --- packages/room/api/auth.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/room/api/auth.js b/packages/room/api/auth.js index a6f06b5..9365c2f 100644 --- a/packages/room/api/auth.js +++ b/packages/room/api/auth.js @@ -45,6 +45,7 @@ export const createAuth = async (userConfig = config) => { const response = await fetcher.post('/keys/accesstoken', { headers: { Authorization: 'Bearer ' + config.apiKey }, body: JSON.stringify(body), + cache: 'no-store', }) const data = response.data || {}