update: cookie 处理优化

This commit is contained in:
binaryify
2024-04-29 15:23:41 +08:00
parent 2bb5269dfa
commit 7b6e9d90e0
59 changed files with 78 additions and 84 deletions
+1 -2
View File
@@ -25,8 +25,7 @@ module.exports = async (query, request) => {
.replace('.' + ext, '')
.replace(/\s/g, '')
.replace(/\./g, '_')
// query.cookie.os = 'pc'
// query.cookie.appver = '2.9.7'
if (!query.songFile) {
return Promise.reject({
status: 500,