mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-13 15:09:25 +00:00
Merge pull request #278 from bulk88/no_heroku_headers_to_origin
remove Heroku specific Req headers from being sent to Origin
This commit is contained in:
@@ -33,6 +33,14 @@ cors_proxy.createServer({
|
||||
'x-heroku-queue-depth',
|
||||
'x-heroku-dynos-in-use',
|
||||
'x-request-start',
|
||||
'x-request-id',
|
||||
'via',
|
||||
'connect-time',
|
||||
'total-route-time',
|
||||
// Other Heroku added debug headers
|
||||
// 'x-forwarded-for',
|
||||
// 'x-forwarded-proto',
|
||||
// 'x-forwarded-port',
|
||||
],
|
||||
redirectSameOrigin: true,
|
||||
httpProxyOptions: {
|
||||
|
||||
Reference in New Issue
Block a user