fix(core): update

This commit is contained in:
Philipp Kunz 2022-08-04 17:16:26 +02:00
parent 59a025b308
commit 942b812f97
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartproxy', name: '@pushrocks/smartproxy',
version: '3.0.36', version: '3.0.37',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -188,6 +188,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
method: originRequest.method, method: originRequest.method,
headers: { headers: {
...originRequest.headers, ...originRequest.headers,
'X-Forwarded-Host': originRequest.headers.host,
'X-Forwarded-Proto': 'https' 'X-Forwarded-Proto': 'https'
}, },
keepAlive: true, keepAlive: true,