githubraw/sgco
0
1const cors_proxy = require("cors-anywhere");2 3const host = "0.0.0.0";4const port = process.env.PORT || 7860;5 6cors_proxy.createServer({7 originWhitelist: [], // Allow all origins8 requireHeader: [],9 removeHeaders: ["cookie", "cookie2"]10}).listen(port, host, () => {11 console.log(`Running CORS Anywhere on http://${host}:${port}`);12});13 