fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-05 18:31:55 +01:00
parent a1c4f3c341
commit ce94d283c1
2 changed files with 2 additions and 2 deletions

View File

@ -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'
}

View File

@ -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();