coral-xyz / backpack

🎒 Next level crypto wallet
https://backpack.app
GNU General Public License v3.0
1.35k stars 810 forks source link

simulate tx failed for CORS policy #4318

Closed GoudanWoo closed 3 months ago

GoudanWoo commented 3 months ago

image

image

image

Access to fetch at 'https://blockaid.xnftdata.com/v0/solana/message/scan' from origin 'chrome-extension://aflkmfhebedbjioipglgcbcmnbpgliof' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Backpack Extension: 0.10.76-latest-beta-2292 Chrome: 126.0.6478.115 System: Windows 11

GoudanWoo commented 3 months ago

I solved it.

If you set the Allow site access option for Backpack Extension to On specific sites, you need to add https://*.xnftdata.com/* to the allowed sites.