Try without cache: reload

It's probably not needed; image is possibly cached, just not rendered properly
This commit is contained in:
Lim Chee Aun 2023-06-29 00:27:15 +08:00
parent 61630d25e2
commit 950114b9f7

View file

@ -124,7 +124,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
if (!isSafari) return;
(async () => {
try {
await fetch(mediaURL, { cache: 'reload', mode: 'no-cors' });
await fetch(mediaURL, { mode: 'no-cors' });
mediaRef.current.src = mediaURL;
} catch (e) {
// Ignore