fixed realIP error

This commit is contained in:
binaryify 2021-07-23 09:17:29 +08:00
parent e602cdd550
commit 801fc5a7ea

View File

@ -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(