const host = process.env.HOST || '0.0.0.0'
const port = process.env.PORT || 9000
const cors_proxy = require('cors-anywhere')

cors_proxy.createServer({
  originWhitelist: [], // Allow all origins
  requireHeader: [],
  removeHeaders: ['cookie', 'cookie2']
}).listen(port, host, function() {
  console.log('Running CORS Anywhere on ' + host + ':' + port)
})
