Created by: sydeEvans
can use like this:
let proxy = httpProxy.createProxyServer( [ { target: proxyConfig.apiHost, // see https://github.com/nodejitsu/node-http-proxy#options changeOrigin: true }, { target: proxyConfig.rapHost, // see https://github.com/nodejitsu/node-http-proxy#options changeOrigin: true } ] )