Commit 01c970b 1 parent 8770a07 commit 01c970b Copy full SHA for 01c970b
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ const getSuffix = async (scoreUrl: string): Promise<string | null> => {
14
14
const text = await response . text ( ) ;
15
15
suffixUrls = [
16
16
...text . matchAll (
17
- / l i n k h r e f = " ( h t t p s : \/ \/ m u s e s c o r e \. c o m \/ s t a t i c \/ p u b l i c \/ b u i l d \/ m u s e s c o r e .* ?(?: _ e s 6 ) ? \/ 2 0 .+ ?\. j s ) " / g
17
+ / l i n k . + ? h r e f = [ " ' ] ( h t t p s : \/ \/ m u s e s c o r e \. c o m \/ s t a t i c \/ p u b l i c \/ b u i l d \/ m u s e s c o r e .* ?(?: _ e s 6 ) ? \/ 2 0 .+ ?\. j s ) [ " ' ] / g
18
18
) ,
19
19
] . map ( ( match ) => match [ 1 ] ) ;
20
20
} else {
21
21
suffixUrls = [
22
22
...document . head . innerHTML . matchAll (
23
- / l i n k h r e f = " ( h t t p s : \/ \/ m u s e s c o r e \. c o m \/ s t a t i c \/ p u b l i c \/ b u i l d \/ m u s e s c o r e .* ?(?: _ e s 6 ) ? \/ 2 0 .+ ?\. j s ) " / g
23
+ / l i n k . + ? h r e f = [ " ' ] ( h t t p s : \/ \/ m u s e s c o r e \. c o m \/ s t a t i c \/ p u b l i c \/ b u i l d \/ m u s e s c o r e .* ?(?: _ e s 6 ) ? \/ 2 0 .+ ?\. j s ) [ " ' ] / g
24
24
) ,
25
25
] . map ( ( match ) => match [ 1 ] ) ;
26
26
}
You can’t perform that action at this time.
0 commit comments