Stellar API Cors error

I am trying to use the quick node stellar api to connect to stellar, but i keep getting blocked by cors error

My code
const stellarServer = “<TOKEN_HERE>”
const server = new SorobanClient.Server(stellarServer);

I am getting the same CORS error:

  Access to XMLHttpRequest at '' from origin 'http://localhost:3000' has been blocked by CORS policy:
  Request header field x-client-version is not allowed by Access-Control-Allow-Headers in preflight response.

Stellar SDK sends a request to quicknode with header x-client-version set to 12.0.0-rc.3 and we can’t control that