Skip to content

Commit

Permalink
Fix example code for HTTPS proxy (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-163 committed Jul 14, 2020
1 parent 559526e commit 4083347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ const tunnel = require('tunnel');

got('https://sindresorhus.com', {
agent: {
https: tunnel.httpOverHttp({
https: tunnel.httpsOverHttp({
proxy: {
host: 'localhost'
}
Expand Down

0 comments on commit 4083347

Please sign in to comment.