Added support for link.tospotify.com urls

This commit is contained in:
RemixDev
2020-11-10 13:57:53 +01:00
parent 511d3f3aad
commit 4fa4d7ca7a
2 changed files with 6 additions and 5 deletions

View File

@@ -24,7 +24,8 @@ export function isValidURL(text) {
if (
lowerCaseText.indexOf('deezer.com') >= 0 ||
lowerCaseText.indexOf('deezer.page.link') >= 0 ||
lowerCaseText.indexOf('open.spotify.com') >= 0
lowerCaseText.indexOf('open.spotify.com') >= 0 ||
lowerCaseText.indexOf('link.tospotify.com') >= 0
) {
return true
}