Hi Simon,

Node has no CORS issue. You can use whatever you want in node to retrieve 
content, and it will just work.
CORS is a server/browsers interface to protect the server from being used 
as a free resource.

So yes, requirejs is node-only, and that it has no CORS issue in node. 
However, if you get it running in the browser(unlikely..) it also will have 
an CORS restriction on it.

There are 2 ways you can access an CORS protected resource.

   1. ask the server-owner to allow your app. (easiest way)
   2. use a CORS proxy. (simplest form, write an endpoint in your own 
   server that fetches the resource you need)

Hope this helps you a bit,
Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to