CORS proxy for serving images through XHR. Written in node.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
benchmark.rb
package.json
proxy.js
readme.md

readme.md

CORS Proxy

CORS proxy for serving images through XHR. Written in node.js

Setup:

Make sure you have node.js and npm installed.
Run
npm install
to install dependencies

Usage:

Start Server:

node proxy.js
forever proxy.js in case you wanna use forever

Request Format:

http://proxy:8000/[image_url]

Added Response Headers:

Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true