mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
update remote regex
This commit is contained in:
@@ -12,7 +12,7 @@ export const PlayerImage = ({ src }: PlayerImageProps) => {
|
||||
<img
|
||||
className={styles.container}
|
||||
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