update remote regex

This commit is contained in:
Kendall Garner 2025-06-28 06:48:04 -07:00
parent 63e3b97bca
commit fb80b66310
No known key found for this signature in database
GPG key ID: 9355F387FE765C94

View file

@ -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, '')}
/>
);
};