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:
MoeFurina
2026-01-16 22:35:16 +08:00
co-authored by binaryify
parent 5fc9346e0e
commit 805d0bccc5
6 changed files with 213 additions and 180 deletions
+1 -1
View File
@@ -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) {