You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Listen on a specific host via the HOST environment variable
var host = process.env.HOST || '0.0.0.0';
// Listen on a specific port via the PORT environment variable
var port = process.env.PORT || 8080;
var cors_proxy = require('cors-anywhere');
cors_proxy.createServer({
originWhitelist: [], // Allow all origins
requireHeader: [],
removeHeaders: []
}).listen(port, host, function() {
console.log('Running CORS Anywhere on ' + host + ':' + port);
});
it works for all sites except the one I am trying to access.
The text was updated successfully, but these errors were encountered:
My code:
// Listen on a specific host via the HOST environment variable
var host = process.env.HOST || '0.0.0.0';
// Listen on a specific port via the PORT environment variable
var port = process.env.PORT || 8080;
var cors_proxy = require('cors-anywhere');
cors_proxy.createServer({
originWhitelist: [], // Allow all origins
requireHeader: [],
removeHeaders: []
}).listen(port, host, function() {
console.log('Running CORS Anywhere on ' + host + ':' + port);
});
it works for all sites except the one I am trying to access.
The text was updated successfully, but these errors were encountered: