I have installed frappe-js-sdk in my react app which is on localhost:3000 and my backend runs on localhost:8100.
I followed the steps provided in frappe-js-sdk to make API calls
I added allow-cors : “*” in site_config.json file
Access to XMLHttpRequest at ‘http://localhost:8100/api/method/xyz/abc’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: Request header field x-frappe-site-name is not allowed by Access-Control-Allow-Headers in preflight response.
Can you please help me out how to address this issue