mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
修复代理设置问题 #1343
This commit is contained in:
parent
0e658f9b5a
commit
53ba3e175f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.0.20",
|
"version": "4.0.21",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
@ -142,6 +142,8 @@ const createRequest = (method, url, data, options) => {
|
|||||||
console.error('代理配置无效,不使用代理')
|
console.error('代理配置无效,不使用代理')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
settings.proxy = false
|
||||||
}
|
}
|
||||||
if (options.crypto === 'eapi') {
|
if (options.crypto === 'eapi') {
|
||||||
settings = {
|
settings = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user