fudgebucket27 / Lexplorer

Loopring explorer alternative
14 stars 10 forks source link

NFT MetaData URL incorrectly adds /metadata.json #248

Closed modersohn closed 2 years ago

modersohn commented 2 years ago

Just saw this on a loophead on lexplorer.io, but worked fine locally and on the dev deployment:

image

NFTid for searching is 0x01348998000000000000000002386f26fc10000000000000000000000000008d.

I presume something went wrong when it tried the original - correct - URL and the code from a4d1777 determined that it should trySubFolder.

A possible "fix" or rather workaround would be to never try and add "/metadata.json" if the URL already contains that.