Skip to content

Commit

Permalink
remove cert from fetch()
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Dec 3, 2024
1 parent 7791efe commit 6971cda
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/test-nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ function fetch(url, { body, ...options }={}) {
text,
json: async () => JSON.parse(await text()),
headers: new Headers(res.headers),
certificate: res.socket.getPeerCertificate?.(),
});
});
req.on('error', reject);
Expand Down

0 comments on commit 6971cda

Please sign in to comment.