mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
ci: update Node.js requirement and improve code consistency
Updated the README to require Node.js 18+ and added Docker usage instructions. Refactored util/client-sign.js for consistent code style and improved variable naming. Fixed the login_cellphone module to use 'weapi' in createOption. Removed deprecated code from server.js and improved CORS header formatting. Minor fix in util/request.js for user agent selection. Co-Authored-By: binaryify <[email protected]>
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = async (query, request) => {
|
||||
let result = await request(
|
||||
`/api/w/login/cellphone`,
|
||||
data,
|
||||
createOption(query),
|
||||
createOption(query, 'weapi'),
|
||||
)
|
||||
|
||||
if (result.body.code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user