Use SimpleHash CDN proxy only if NFT image belongs to SimpleHash host #45613
Labels
feature/web3/wallet/core
feature/web3/wallet/nft
feature/web3/wallet
Integrating Ethereum+ wallet support
OS/Desktop
priority/P2
A bad problem. We might uplift this to the next planned release.
QA/Yes
release-notes/exclude
Description
Currently all NFT image URLs are served through the SimpleHash CDN, via a Brave proxy. Essentially, we modify the host of all NFT images from
https://cdn.simplehash.com/assets/img.png
tohttps://simplehash.wallet-cdn.brave.com/assets/img.png
.The above will result in broken images if the host is not
cdn.simplehash.com
to begin with. Apply this conditional while using the Brave proxy.Steps to reproduce
N/A
Actual result
N/A
Expected result
NFT images continue to be visible in the portfolio view.
Reproduces how often
Easily reproduced
Brave version (brave://version info)
1.77.100 Chromium: 135.0.7049.100 (Official Build) (arm64)
Channel information
Reproducibility
Miscellaneous information
Needs to be uplifted to release
The text was updated successfully, but these errors were encountered: