Adds Access-Control-Allow-Origin on header with node.js
JavaScript
Switch branches/tags
Nothing to show
Latest commit c32676f Mar 6, 2012 @premist Update README.md
Permalink
Failed to load latest commit information.
LICENSE
README.md
server.js

README.md

Node Crossdomain Proxy

Node Crossdomain Proxy is extremely simple Node.js proxy. It just adds Access-Control-Allow-Origin: * for XHR. I used it for Windows Azure Storage Blob mirroring.

Usage

Make request url like this:

http://proxy url/?src=file you want to request

Note: use file url without http://.

Copyright

This code is licensed under WTFPL license. If you're tired with Windows Azure or something else - or if you're not - you can use my source freely, in any project. see LICENSE for more information.