mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
fixed realIP error
This commit is contained in:
parent
e602cdd550
commit
801fc5a7ea
@ -50,7 +50,7 @@ const createRequest = (method, url, data, options) => {
|
||||
if (url.includes('music.163.com'))
|
||||
headers['Referer'] = 'https://music.163.com'
|
||||
if (options.realIP) headers['X-Real-IP'] = options.realIP
|
||||
headers['X-Real-IP'] = '118.88.88.88'
|
||||
// headers['X-Real-IP'] = '118.88.88.88'
|
||||
if (typeof options.cookie === 'object')
|
||||
headers['Cookie'] = Object.keys(options.cookie)
|
||||
.map(
|
||||
|
Loading…
x
Reference in New Issue
Block a user