simple-http-proxy
Advanced tools
Comparing version
@@ -74,3 +74,3 @@ | ||
// Pass along our headers | ||
options.headers[xforward.proto] = req.headers[xforward.proto] || req.connection.encrypted ? 'https' : 'http'; | ||
options.headers[xforward.proto] = req.headers[xforward.proto] || (req.connection.encrypted ? 'https' : 'http'); | ||
options.headers[xforward.host] = req.headers[xforward.host] || hostInfo[0]; | ||
@@ -77,0 +77,0 @@ options.headers[xforward.path] = req.headers[xforward.path] || resPath; |
{ | ||
"name": "simple-http-proxy", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "Simple proxy middleware", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8353
0.02%