diff options
| -rw-r--r-- | src/cors-proxy.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/cors-proxy.js b/src/cors-proxy.js deleted file mode 100644 index 905eb0f..0000000 --- a/src/cors-proxy.js +++ /dev/null @@ -1,12 +0,0 @@ -var host = process.env.HOST || '127.0.0.1'; -var port = process.env.PORT || 8088; - -var cors_proxy = require('cors-anywhere'); -cors_proxy.createServer({ - originWhitelist: [], // Allow all origins - requireHeader: ['origin', 'x-requested-with'], - removeHeaders: ['cookie', 'cookie2'], - checkRateLimit: null, -}).listen(port, host, function() { - console.log('Running CORS Anywhere on ' + host + ':' + port); -}); |
