CORS error while hitting API's from React application

I am getting CORS error while using ChirpStack v4 REST API. How to resolve this?