Merge remote-tracking branch 'origin/main' into router-implementation
This commit is contained in:
@@ -11,6 +11,7 @@ import tr from 'svg-country-flags/svg/tr.svg'
|
||||
import vn from 'svg-country-flags/svg/vn.svg'
|
||||
import hr from 'svg-country-flags/svg/hr.svg'
|
||||
import ar from '@/assets/ar.svg'
|
||||
import ko from 'svg-country-flags/svg/kr.svg'
|
||||
|
||||
export default {
|
||||
it,
|
||||
@@ -25,5 +26,6 @@ export default {
|
||||
tr,
|
||||
vn,
|
||||
hr,
|
||||
ar
|
||||
ar,
|
||||
ko
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ export function isValidURL(text) {
|
||||
let lowerCaseText = text.toLowerCase()
|
||||
|
||||
if (lowerCaseText.startsWith('http')) {
|
||||
if (lowerCaseText.indexOf('deezer.com') >= 0 || lowerCaseText.indexOf('open.spotify.com') >= 0) {
|
||||
if (lowerCaseText.indexOf('deezer.com') >= 0 || lowerCaseText.indexOf('deezer.page.link') >= 0 || lowerCaseText.indexOf('open.spotify.com') >= 0) {
|
||||
return true
|
||||
}
|
||||
} else if (lowerCaseText.startsWith('spotify:')) {
|
||||
|
||||
Reference in New Issue
Block a user