Skip to content

Commit

Permalink
feat: don't store cache
Browse files Browse the repository at this point in the history
  • Loading branch information
scmmishra committed Jan 29, 2025
1 parent 4683016 commit b0bb65b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b0bb65b

Please sign in to comment.