arthurfiorette / axios-cache-interceptor

📬 Small and efficient cache interceptor for axios. Etag, Cache-Control, TTL, HTTP headers and more!

Home Page:https://axios-cache-interceptor.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: CORS Error using setupCache

mehranml opened this issue · comments

What happened?

A bug happened!
as i change my default axios instance to setupCache setup i get CORS error on sending GET request to https://api.raydium.io/v2/sdk/farm-v2/mainnet.json

axios-cache-interceptor version

1.5.1

Node / Browser Version

20.10

Axios Version

1.6.7

What storage is being used

Web Storage

Relevant debugging log output

Third-party cookie will be blocked. Learn more in the Issues tab.
4
Access to XMLHttpRequest at 'https://api.raydium.io/v2/sdk/farm-v2/mainnet.json' from origin 'http://localhost:3000' has been blocked by CORS policy: Request header field pragma is not allowed by Access-Control-Allow-Headers in preflight response.