Access to fetch at 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum,ethereum,usd-coin,wrapped-bitcoin,tether,dai,binance-usd,matic-network,matic-network,ethereum,usd-coin,binancecoin,binancecoin,usd-coin,avalanche-2,avalanche-2,usd-coin,ethereum,fantom,fantom,usd-coin,celo,moonbeam,moonbeam,solana,solana,usd-coin,sui,aptos,ethereum,ethereum,usd-coin,ethereum,ethereum,usd-coin,ethereum,ethereum,ethereum,usd-coin,wrapped-steth,wrapped-steth,wrapped-steth,wrapped-steth,wrapped-steth,klay-token,wrapped-klay,pyth-network,ethereum,ethereum,ethereum,ethereum,okb,okb,mantle,mantle&vs_currencies=usd' from origin 'https://wormhole-connect-mainnet.netlify.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Describe the current behavior in detail
Checked on https://wormhole-connect-mainnet.netlify.app/ with macOS Sonoma 14.5 and Google Chrome Version 128.0.6613.85 (Official Build) (arm64).
Steps:
Actual result: USD equivalent and Bridge fee are not displayed. Expected result: USD equivalent and Bridge fee are displayed.
Notes/ Attachments
Similar issue: https://github.com/wormhole-foundation/wormhole-connect/issues/2471 [QA] USD equivalent and Bridge fees are not displayed after returning to "Bridge assets" screen.
Error appears in Console:
Access to fetch at 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum,ethereum,usd-coin,wrapped-bitcoin,tether,dai,binance-usd,matic-network,matic-network,ethereum,usd-coin,binancecoin,binancecoin,usd-coin,avalanche-2,avalanche-2,usd-coin,ethereum,fantom,fantom,usd-coin,celo,moonbeam,moonbeam,solana,solana,usd-coin,sui,aptos,ethereum,ethereum,usd-coin,ethereum,ethereum,usd-coin,ethereum,ethereum,ethereum,usd-coin,wrapped-steth,wrapped-steth,wrapped-steth,wrapped-steth,wrapped-steth,klay-token,wrapped-klay,pyth-network,ethereum,ethereum,ethereum,ethereum,okb,okb,mantle,mantle&vs_currencies=usd' from origin 'https://wormhole-connect-mainnet.netlify.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
https://github.com/user-attachments/assets/7d6e2e54-4066-4675-a212-336e37a8c37b