Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
kaykyr committed Jan 28, 2023
1 parent ecdc655 commit bb05c8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nexus-request",
"version": "1.0.8",
"version": "1.1.0",
"description": "HTTP/HTTP2 client for NodeJS with ZSTD support.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
12 changes: 0 additions & 12 deletions src/request/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ export class Proxy {
this.authority.protocol === 'https:' ? ':443' : ':80'
}`

console.log({
method: 'CONNECT',
rejectUnauthorized: false,
hostname: this.proxy.hostname,
port: this.proxy.port,
path: connectPath,
headers: {
...this.getAuthorizationHeaders(),
host: connectPath,
},
})

const tunnel = network
.request({
method: 'CONNECT',
Expand Down

0 comments on commit bb05c8b

Please sign in to comment.