mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
`path_cover_large` and friends arrive as `.../cover/big.png?ts=<updated_at>`, so the end-anchored `/\.(png|jpe?g)$/` never matched one and no v2 surface rewrote a real cover URL even with the flag read correctly. v1's regex is unanchored by accident, which is why it worked there. Give the rewrite one home in `useWebpSupport`, matching the extension at the end of the path rather than of the URL, and have the three copies use it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>