Skip to content

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

Notifications You must be signed in to change notification settings

xinming/cors-image-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published