rdegges / cryptocompare

A static website that compares cryptocurrency prices for popular currencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CORS error when trying to access cryptocompare api

sbley opened this issue · comments

That is what the console log shows after loading https://scotch-io.github.io/cryptocompare/

bootstrap.min.css:1 Failed to load resource: the server responded with a status of 404 ()
scotch-io.github.io/:1 Failed to load https://www.cryptocompare.com/api/data/coinlist: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://scotch-io.github.io' is therefore not allowed access.

I am on Chrome 66.

Just merged in a PR which should fix this.