node-http-proxy icon indicating copy to clipboard operation
node-http-proxy copied to clipboard

Update options.changeOrigin description in docs

Open asvae opened this issue 8 years ago • 2 comments
trafficstars

changeOrigin has nothing to do with origin header which is confusing and harmful when working with CORS. As CORS middleware sometimes makes decisions depending on origin header.

changeOrigin option handles solely host header.

asvae avatar Jan 09 '17 10:01 asvae