mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
update remote regex
This commit is contained in:
@@ -12,7 +12,7 @@ export const PlayerImage = ({ src }: PlayerImageProps) => {
|
|||||||
<img
|
<img
|
||||||
className={styles.container}
|
className={styles.container}
|
||||||
onError={() => send({ event: 'proxy' })}
|
onError={() => send({ event: 'proxy' })}
|
||||||
src={src?.replaceAll(/&(size|width|height=\d+)/g, '')}
|
src={src?.replaceAll(/&(size|width|height)=\d+/g, '')}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user