mirror of
https://github.com/mue/mue.git
synced 2026-07-27 18:51:05 +02:00
fix: background proxy and offline mode hot reload bugs
This commit is contained in:
@@ -56,7 +56,7 @@ export default function PhotoInformation(props) {
|
||||
setWidth(event.target.width);
|
||||
setHeight(event.target.height);
|
||||
}
|
||||
img.src = props.url;
|
||||
img.src = (localStorage.getItem('ddgProxy') === 'true' && !props.info.offline && !props.url.startsWith('data:')) ? window.constants.DDG_IMAGE_PROXY + props.url : props.url;
|
||||
|
||||
return (
|
||||
<div className='photoInformation'>
|
||||
|
||||
Reference in New Issue
Block a user