mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
修复代理设置问题 #1343
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "4.0.20",
|
||||
"version": "4.0.21",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
||||
@@ -142,6 +142,8 @@ const createRequest = (method, url, data, options) => {
|
||||
console.error('代理配置无效,不使用代理')
|
||||
}
|
||||
}
|
||||
} else {
|
||||
settings.proxy = false
|
||||
}
|
||||
if (options.crypto === 'eapi') {
|
||||
settings = {
|
||||
|
||||
Reference in New Issue
Block a user