Disable fetch caching when inspecting uploads

This commit is contained in:
Sam Becker 2024-06-06 21:29:10 -05:00
parent 2580381373
commit b35326cfc3

View File

@ -40,7 +40,7 @@ export const extractImageDataFromBlobPath = async (
const extension = getExtensionFromStorageUrl(url);
const fileBytes = blobPath
? await fetch(url).then(res => res.arrayBuffer())
? await fetch(url, { cache: 'no-store' }).then(res => res.arrayBuffer())
: undefined;
let exifData: ExifData | undefined;