Commit 8939a7e9 authored by nanahira's avatar nanahira

fix

parent 326590bc
Pipeline #2288 passed with stages
in 2 minutes and 23 seconds
...@@ -55,7 +55,7 @@ export class AppService { ...@@ -55,7 +55,7 @@ export class AppService {
} }
const lyrics = lyricMatches const lyrics = lyricMatches
.map((m) => .map((m) =>
m.match(decodeURIComponent(/\[\d+:\d+[:\.]\d+\]([^<]+)/)[1].trim()), decodeURIComponent(m.match(/\[\d+:\d+[:\.]\d+\]([^<]+)/)[1].trim()),
) )
.filter((lyric) => .filter((lyric) =>
blacklistedRegex.every((regex) => !lyric.match(regex)), blacklistedRegex.every((regex) => !lyric.match(regex)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment