Elastic-Finance-DAO / eefi_dapp

Amplesense DAO Elastic Vaults - FE
0 stars 0 forks source link

CORS Issue: DeFI Pulse API #26

Open davoice-321 opened 2 years ago

davoice-321 commented 2 years ago

DeFi Pulse API key is showing in console, along with CORS error:

GET https://data-api.defipulse.com/api/v1/egs/api/ethgasAPI.json?api-key=db84e1509032bc4cc4f96d1c8791d92b667d28adc606bda9480c9a616310

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://data-api.defipulse.com/api/v1/egs/api/ethgasAPI.json?api-key=db84e1509032bc4cc4f96d1c8791d92b667d28adc606bda9480c9a616310. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

davoice-321 commented 2 years ago

The defi pulse API is causing the site to load slowly.

stalker474 commented 2 years ago

I'm not sure I know what to do about that unfortunately

davoice-321 commented 2 years ago

I'm still seeing this issue in the Console:

Access to XMLHttpRequest at 'https://data-api.defipulse.com/api/v1/egs/api/ethgasAPI.json?api-key=db84e1509032bc4cc4f96d1c8791d92b667d28adc606bda9480c9a616310' from origin 'https://awesome-montalcini-06656d.netlify.app' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.