Skip to content

Commit 796b6a4

Browse files
author
Jonathan Ginsburg
authored
Merge 8e16bb3 into 7a1344f
2 parents 7a1344f + 8e16bb3 commit 796b6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/middleware/proxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function parseProxyConfig (proxies, config) {
3434

3535
const hostname = proxyDetails.hostname || config.hostname
3636
const protocol = proxyDetails.protocol || config.protocol
37-
const https = proxyDetails.protocol === 'https:'
37+
const https = protocol === 'https:'
3838
let port
3939
if (proxyDetails.port) {
4040
port = proxyDetails.port

0 commit comments

Comments
 (0)