Localhost CORS error

Hi,

I’m running some tests on localhost and I get this error:

Access to XMLHttpRequest at ‘https://api.nomics.com/v1/currencies/ticker?key=key&ids=BTC&interval=1d,30d&convert=USD’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘http://localhost:3000, http://localhost:3000’, but only one is allowed.

This was working fine until recently. It seems to happen intermittently. Should I contact cors@nomics?

Thank You

Hi sorry! This is a known bug that only affects localhost. We’re working on it. In the meantime, there are a number of browser extensions that will let you bypass CORS for testing purposes.