form icon indicating copy to clipboard operation
form copied to clipboard

CORS for mocky.io

Open atodd-geoplan opened this issue 9 years ago • 3 comments

Trying to run the examples - Chrome is complaining about CORS from mocky.io:

XMLHttpRequest cannot load http://www.mocky.io/v2/588d702d100000d50f2d2980. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access.

I note that it is only on the intial load, the app routes to /elephants and this is where the error occurs.

Subsequent clicks to elephants is fine.

atodd-geoplan avatar Feb 20 '17 11:02 atodd-geoplan

is this still happening? could have sworn I fixed it...

SethDavenport avatar Feb 26 '17 03:02 SethDavenport

No it works something wrong with my local set up, So I closed this...

atodd-geoplan avatar Feb 27 '17 09:02 atodd-geoplan

Ok cool - thanks.

SethDavenport avatar Feb 27 '17 14:02 SethDavenport