From ce94d283c198831f6697e2502bdda0bdebb0c4e4 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 5 Jan 2023 18:31:55 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index e5970c3..35289b1 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.48', + version: '3.0.49', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index 675552d..93d6792 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -255,7 +255,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= wscConnectedDeferred = plugins.smartpromise.defer(); let wsc; try { - wsc = new plugins.wsDefault(`wss://${this.router.routeReq(reqArg).destinationIp}:${this.router.routeReq(reqArg).destinationPort}${reqArg.url}`); + wsc = new plugins.wsDefault(`ws://${this.router.routeReq(reqArg).destinationIp}:${this.router.routeReq(reqArg).destinationPort}${reqArg.url}`); } catch (err) { console.log(err); ws.terminate();