From 33e63ff5ae3b1f97262018a34e4c5ffe31fcc998 Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 9 Feb 2021 09:43:09 +0100 Subject: remove JS proxy --- src/cors-proxy.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/cors-proxy.js 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); -}); -- cgit v1.2.3