fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-05 14:57:54 +01:00
parent f018957de4
commit 748c6e14e4
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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<plugins.wsDefault>;
ws.on('message', async (message) => {