fix(core): update

This commit is contained in:
2019-08-20 18:43:15 +02:00
parent 64df05a868
commit 6f967553d6
7 changed files with 45 additions and 15 deletions

View File

@ -4,4 +4,4 @@ export interface IHostConfig {
destinationPort: number;
privateKey: string;
publicKey: string;
}
}

View File

@ -1,5 +1,3 @@
import * as plugins from './smartproxy.plugins';
export class SmartproxyRouter {
}
export class SmartproxyRouter {}

View File

@ -13,7 +13,7 @@ export class SmartProxy {
public addHostCandidate(hostCandidate: interfaces.IHostConfig) {
// TODO search for old hostCandidates with that target
this.hostCandidates.push(hostCandidate);
};
}
/**
* starts the proxyInstance

View File

@ -1,15 +1,10 @@
// node native scope
import * as https from 'https';
export {
https
};
export { https };
// third party scope
import express from 'express';
import * as httpProxyMiddleware from 'http-proxy-middleware';
export {
express,
httpProxyMiddleware
};
export { express, httpProxyMiddleware };