Trying to get cors-anywhere to work

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-14 00:31:15 +02:00
parent 90434b3b15
commit 24f0f586d3

View File

@@ -16,8 +16,8 @@ try{
requireHeader: ['origin', 'x-requested-with'],
removeHeaders: ['cookie', 'cookie2'],
httpsOptions: credentials
}).listen(8080, host, function() {
console.log('Running CORS Anywhere on ' + host + ':' + 8080);
}).listen(8080, function() {
console.log('Running CORS Anywhere on :' + 8080);
});
}
catch(err){