Added support for link.tospotify.com urls
This commit is contained in:
parent
511d3f3aad
commit
4fa4d7ca7a
File diff suppressed because one or more lines are too long
@ -24,7 +24,8 @@ export function isValidURL(text) {
|
|||||||
if (
|
if (
|
||||||
lowerCaseText.indexOf('deezer.com') >= 0 ||
|
lowerCaseText.indexOf('deezer.com') >= 0 ||
|
||||||
lowerCaseText.indexOf('deezer.page.link') >= 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
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user