CORS Anywhere - Initial commit

This commit is contained in:
Rob W
2013-01-03 18:37:26 +01:00
commit 8a367bda4b
7 changed files with 221 additions and 0 deletions

7
server.js Normal file
View File

@@ -0,0 +1,7 @@
var host = '127.0.0.1';
var port = 8080;
var cors_proxy = require("./lib/cors-anywhere");
cors_proxy.createServer().listen(port, host, function() {
console.log('Running CORS Anywhere on ' + host + ':' + port);
});