🐞 fix: 修复解析方法的问题

This commit is contained in:
alger
2023-12-20 16:19:16 +08:00
parent a1780bc9d4
commit 19140cd680
4 changed files with 18 additions and 23 deletions
-12
View File
@@ -90,17 +90,6 @@ const setAudioTime = (index: any, audio: HTMLAudioElement) => {
audio.play()
}
const ProxyUrl =
import.meta.env.VITE_API_PROXY + '' || 'http://110.42.251.190:9856'
const getMusicProxyUrl = (url: string) => {
if (!getIsMc()) {
return url
}
const PUrl = url.split('').join('+')
return `${ProxyUrl}/mc?url=${PUrl}`
}
export {
lrcData,
lrcArray,
@@ -113,5 +102,4 @@ export {
setAudioTime,
nowTime,
allTime,
getMusicProxyUrl,
}