From 1136841b3d38ea438675c018d55273205aef6f5b Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 30 Jul 2022 08:20:20 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index bdf806d..cf439a4 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.13', + version: '3.0.14', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index b1f59f6..3df0a1d 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -130,7 +130,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= res.end(messageArg); }; - console.log('got request'); + console.log(`got request: ${req.headers.host}${plugins.url.parse(req.url).path}`); const destinationConfig = this.router.routeReq(req); if (!destinationConfig) { @@ -290,6 +290,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= } public async updateProxyConfigs(proxyConfigsArg: plugins.tsclass.network.IReverseProxyConfig[]) { + console.log(`got new proxy configs`); this.proxyConfigs = proxyConfigsArg; this.router.setNewProxyConfigs(proxyConfigsArg); for (const hostCandidate of this.proxyConfigs) {