premist / node-crossdomain-proxy

Adds Access-Control-Allow-Origin on header with node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Adds Access-Control-Allow-Origin on header with node.js

License:Do What The F*ck You Want To Public License


Languages

Language:JavaScript 100.0%