fix(core): update

This commit is contained in:
Philipp Kunz 2019-09-24 16:27:34 +02:00
parent 945065279f
commit 6c84406574
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
console.log('got connection for wsc');
const wscConnected = plugins.smartpromise.defer();
const wsc = new plugins.ws(this.router.routeReq(ws), {
const wsc = new plugins.ws(this.router.routeWs(ws), {
headers: {
Host: ws.url
}

View File

@ -19,6 +19,6 @@ import * as smartsystem from '@pushrocks/smartsystem';
export { smartrequest, smartpromise, smartspawn, smartsystem };
// third party scope
import * as ws from 'ws';
import ws from 'ws';
export { ws };