fimiproxy
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -196,3 +196,6 @@ "use strict"; | ||
routes = config.routes.reduce((acc, route) => { | ||
acc[route.incomingHostAndPort.toLowerCase()] = route; | ||
const incomingHostAndPort = route.incomingHostAndPort.toLowerCase(); | ||
const originTxt = `${route.originProtocol}//${route.originHost}:${route.originPort}`; | ||
acc[incomingHostAndPort] = route; | ||
node_console_1.default.log(`route: ${incomingHostAndPort} > ${originTxt}`); | ||
return acc; | ||
@@ -211,2 +214,8 @@ }, {}); | ||
]); | ||
if (httpProxy) { | ||
node_console_1.default.log(`http proxy listening on ${config.httpPort}`); | ||
} | ||
if (httpsProxy) { | ||
node_console_1.default.log(`https proxy listening on ${config.httpsPort}`); | ||
} | ||
artifacts = {}; | ||
@@ -213,0 +222,0 @@ artifacts.httpProxy = httpProxy; |
{ | ||
"name": "fimiproxy", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "simple HTTP and HTTPS reverse proxy", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
30703
308