From 942b812f9747016c1e2f04253b76af946a9b09cb Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 4 Aug 2022 17:16:26 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 53ac7eb..e5dd53b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartproxy', - version: '3.0.36', + version: '3.0.37', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index ed006fd..5aa8b7a 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -188,6 +188,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= method: originRequest.method, headers: { ...originRequest.headers, + 'X-Forwarded-Host': originRequest.headers.host, 'X-Forwarded-Proto': 'https' }, keepAlive: true,