This commit is contained in:
Chocobozzz 2024-09-18 09:56:00 +02:00
parent 373a9265ba
commit 6a24502912
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 2 deletions

View File

@ -163,8 +163,7 @@ module.exports = {
if (options.protocol === 'https:') { if (options.protocol === 'https:') {
options['agent'] = secureAgent options['agent'] = secureAgent
return httpsRequest(options, callback) return httpsRequest(options, callback)
} } else {
else {
options['agent'] = agent options['agent'] = agent
return httpRequest(options, callback) return httpRequest(options, callback)
} }