Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
fb76ecfd8a | |||
6c84406574 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartproxy",
|
"name": "@pushrocks/smartproxy",
|
||||||
"version": "1.0.29",
|
"version": "1.0.30",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartproxy",
|
"name": "@pushrocks/smartproxy",
|
||||||
"version": "1.0.29",
|
"version": "1.0.30",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a proxy for handling high workloads of proxying",
|
"description": "a proxy for handling high workloads of proxying",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -132,7 +132,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
|||||||
console.log('got connection for wsc');
|
console.log('got connection for wsc');
|
||||||
const wscConnected = plugins.smartpromise.defer();
|
const wscConnected = plugins.smartpromise.defer();
|
||||||
|
|
||||||
const wsc = new plugins.ws(this.router.routeReq(ws), {
|
const wsc = new plugins.ws(this.router.routeWs(ws), {
|
||||||
headers: {
|
headers: {
|
||||||
Host: ws.url
|
Host: ws.url
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,6 @@ import * as smartsystem from '@pushrocks/smartsystem';
|
|||||||
export { smartrequest, smartpromise, smartspawn, smartsystem };
|
export { smartrequest, smartpromise, smartspawn, smartsystem };
|
||||||
|
|
||||||
// third party scope
|
// third party scope
|
||||||
import * as ws from 'ws';
|
import ws from 'ws';
|
||||||
|
|
||||||
export { ws };
|
export { ws };
|
||||||
|
Reference in New Issue
Block a user