mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
bugfix
This commit is contained in:
1 parent
151290d3ae
commit
bf740f6de9
4 files changed
+21
-1
No files matched your search
@@ -19,6 +19,10 @@ export function request(url) {
|
||||
}
|
||||
|
||||
export function getExt(url) {
|
||||
if (url.includes('?')) {
|
||||
return getExt(url.split('?')[0]);
|
||||
}
|
||||
|
||||
return url
|
||||
.trim()
|
||||
.toLowerCase()
|
||||
|
||||
Reference in new issue
Block a user