I need a solution to the CORS problem in the production environment.
Access to XMLHttpRequest at 'https://api.github.com/repos/<username>/<repo name>' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field x-github-api-version is not allowed by Access-Control-Allow-Headers in preflight response.
I need a solution to the CORS problem in the production environment.