Adding 'sc' as recognised URI type, fixes #610
This commit is contained in:
@ -154,6 +154,10 @@ const uriType = function (uri) {
|
|||||||
return 'track';
|
return 'track';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (exploded[0] === 'sc') {
|
||||||
|
return 'track';
|
||||||
|
}
|
||||||
|
|
||||||
if (exploded[0] === 'youtube') {
|
if (exploded[0] === 'youtube') {
|
||||||
const youtubeParts = exploded[1].split('/');
|
const youtubeParts = exploded[1].split('/');
|
||||||
if (youtubeParts[0] === 'video') {
|
if (youtubeParts[0] === 'video') {
|
||||||
|
|||||||
Reference in New Issue
Block a user