form
form copied to clipboard
CORS for mocky.io
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.
is this still happening? could have sworn I fixed it...
No it works something wrong with my local set up, So I closed this...
Ok cool - thanks.