mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Try without cache: reload
It's probably not needed; image is possibly cached, just not rendered properly
This commit is contained in:
parent
61630d25e2
commit
950114b9f7
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
|
||||||
if (!isSafari) return;
|
if (!isSafari) return;
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
await fetch(mediaURL, { cache: 'reload', mode: 'no-cors' });
|
await fetch(mediaURL, { mode: 'no-cors' });
|
||||||
mediaRef.current.src = mediaURL;
|
mediaRef.current.src = mediaURL;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Ignore
|
// Ignore
|
||||||
|
|
Loading…
Reference in a new issue