From b0bb65bc331abb7f43897c7d7b0701d830d95b73 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Wed, 29 Jan 2025 13:48:30 +0530 Subject: [PATCH] feat: don't store cache --- src/helpers.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/helpers.ts b/src/helpers.ts index 4c7682e..6792538 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -217,9 +217,7 @@ export const downloadFile = async ({ try { const response = await fetch(url, { - method: 'GET', - credentials: 'omit', - mode: 'cors', + cache: 'no-store', }); if (!response.ok) {