Skip to content

Commit fe90dca

Browse files
committed
refactor: Reset the protocol of the proxy server (PR #210)
1 parent ab3b781 commit fe90dca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/NrcIoManager.js

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ export default class NrcIoManager extends events.EventEmitter {
242242
result.proxy = {
243243
host: config.proxy.host,
244244
port: config.proxy.port,
245+
protocol: config.proxy.protocol,
245246
// if proxy tunnel use 'CONNECT' method, else get method from request
246247
method: config.useProxyTunnel ? 'CONNECT' : connectMethod,
247248
// if proxy tunnel set proxy path else get request path

0 commit comments

Comments
 (0)