CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
118 stars 36 forks source link

Out of box, cleverstack encounters CORS errors in Chrome and Safari #63

Closed aaronryden closed 10 years ago

aaronryden commented 10 years ago

After init'ing a fresh project and running clever serve, trying to register or login a user causes chrome to spit out the following CORS error. Thanks for taking a look.

OPTIONS http://localhost:8080/user Request header field X-XSRF-TOKEN is not allowed by Access-Control-Allow-Headers. angular.js:7962 XMLHttpRequest cannot load http://localhost:8080/user. Request header field X-XSRF-TOKEN is not allowed by Access-Control-Allow-Headers. register:1

durango commented 10 years ago

Could you re-download the backend and see if that fixes the issue? Chrome has a lot of issues with localhost CORs

pilsy commented 10 years ago

Hey @aaronryden just wanted to check to see if you are still having this issue or if the fix @durango suggested has worked?