// Heroku defines the environment variable PORT, and requires the binding address to be 0.0.0.0
var host = process.env.PORT ? '0.0.0.0' : '127.0.0.1';
var port = process.env.PORT || 9199;

var cors_proxy = require('cors-anywhere');
cors_proxy.createServer({
    //requireHeader: ['origin', 'x-requested-with'],
    removeHeaders: ['cookie', 'cookie2'],
	secure: 'false',
}).listen(port, host, function() {
    console.log('Running CORS Anywhere on ' + host + ':' + port);
});

// Heroku defines the environment variable PORT, and requires the binding address to be 0.0.0.0
var host = '0.0.0.0'; //'127.0.0.1'; //process.env.PORT ? '0.0.0.0' : '127.0.0.1';
var port = process.env.PORT || 9199;

var cors_proxy = require('cors-anywhere');
cors_proxy.createServer({
    //requireHeader: ['origin', 'x-requested-with'],
    removeHeaders: ['cookie', 'cookie2'],
	secure: 'false',
}).listen(port, host, function() {
    console.log('Running CORS Anywhere on ' + host + ':' + port);
});

Update cors port to bind to default addr
Update cors port to bind to default addr
