Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not found because of proxy error: AggregateError #482

Open
dragon731012 opened this issue Apr 19, 2024 · 0 comments
Open

Not found because of proxy error: AggregateError #482

dragon731012 opened this issue Apr 19, 2024 · 0 comments

Comments

@dragon731012
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant