CORS proxy using nodejs
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore Initial commit via nodester-cli Oct 27, 2011 Update Aug 23, 2013
server.js Allow full URLs with scheme and query string Sep 30, 2012

CORS is a technology specification to get around the Same Origin Policy restrictions of web browsers. To allow cross domain sharing, web servers have to attach additional headers. Unfortunately, not many servers have done this yet, and hence we have issues trying to access their resources in certain scenarios such as WebGL. This simple nodejs proxy will attach the CORS headers so that the browser thinks it is okay to be shared.

For example:

Note: The above link is now defunct, looks like nodester went out of business. However, it still illustrates the point how you can use this service.