diff --git a/packages/server/gateway/managers/http-proxy/index.js b/packages/server/gateway/managers/http-proxy/index.js index 23e3cac1..20dfe32a 100755 --- a/packages/server/gateway/managers/http-proxy/index.js +++ b/packages/server/gateway/managers/http-proxy/index.js @@ -28,9 +28,9 @@ function getHttpServerEngine(extraOptions = {}, handler = () => {}) { } export default class Proxy { - constructor() { + constructor(config = {}) { this.routes = new Map() - this.config = {} + this.config = config // Crear servidor HTTP this.server = getHttpServerEngine({}, this.handleRequest.bind(this))