diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 00305ec..4b33a8d 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.40', + version: '3.0.41', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index b63f58d..9dc2e7e 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -246,8 +246,8 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= // Enable websockets const wss = new plugins.ws.WebSocketServer({ server: this.httpsServer }); - wss.on('connection', (ws: plugins.wsDefault) => { - console.log('got connection for wsc'); + wss.on('connection', (ws) => { + console.log(`got connection for wsc for ${ws.url}`); let wscConnectedDeferred: plugins.smartpromise.Deferred; ws.on('message', async (message) => {