修复代理设置问题 #1343

This commit is contained in:
binaryify 2021-09-04 15:03:30 +08:00
parent 0e658f9b5a
commit 53ba3e175f
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.0.20",
"version": "4.0.21",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",

View File

@ -142,6 +142,8 @@ const createRequest = (method, url, data, options) => {
console.error('代理配置无效,不使用代理')
}
}
} else {
settings.proxy = false
}
if (options.crypto === 'eapi') {
settings = {