Run this in your local to solve cors issue on the browser.
append your api to this server.
finalURL = corsLocalServerURL + URL with CORS issue
for eg.
https://youtube.com/api?key=someKey&otherPathParams
{ "proxy": "http://localhost:80" }
http://localhost:80/forward/https://youtube.com/api?key=someKey&otherPathParams
This should resolve the cors issue on local.