CORS - Wrong 'Access-Control-Allow-Origin' header

As per my reply, use fetch instead as it’s working fine for me.