Rob--W / cors-anywhere

CORS Anywhere is a NodeJS reverse proxy which adds CORS headers to the proxied request.
MIT License
8.62k stars 6.03k forks source link

Add dnsLookup option to allow custom blacklist/whitelist logic #443

Open jonhaddow opened 1 year ago

jonhaddow commented 1 year ago

An implementation to address the following issue: https://github.com/Rob--W/cors-anywhere/issues/78

Introduces a dnsLookup configuration option which allows for custom logic to whitelist or blacklist requests to specific hostnames.