Files: video/image bytes are loaded twice on preview page
lidel opened this issue · 1 comments
lidel commented
Tested on webui.ipfs.io
and http://127.0.0.1:5001/webui/
, Firefox 124.0.2 and Google Chrome 124.0.6367.18.
Opening image in Files triggers fetch twice
- once via Kubo RPC and
/api/v0/cat
- once via subdomain gateway at
cid.ipfs.localhost:port
I guess we had code somewhere which should try one, and then fallback to other, but instead does both?
There is also unrelated(?) bug in Chrome where the gateway GET listed here fails (#2218)