Skip to content

Commit

Permalink
替换有兼容性的语法
Browse files Browse the repository at this point in the history
  • Loading branch information
Binaryify committed Mar 24, 2022
1 parent b0701be commit 15260bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = async (query, request) => {
}
const filename = query.songFile.name
.replace('.' + ext, '')
.replaceAll(' ', '_')
.replaceAll('.', '_')
.replace(/\s/g, '')
.replace(/\./g, '_')
query.cookie.os = 'pc'
query.cookie.appver = '2.9.7'
const bitrate = 999000
Expand Down

0 comments on commit 15260bc

Please sign in to comment.