Refactor more, fix and design 404
This commit is contained in:
parent
7de374e00b
commit
8521baa6d9
11 changed files with 223 additions and 138 deletions
|
@ -6,6 +6,6 @@ export function* match(url, type) {
|
|||
return false;
|
||||
}
|
||||
|
||||
const parts = parsed.path.split("/");
|
||||
return (parts[1] == "album" || parts[1] == "track") && parts[4];
|
||||
const parts = parsed.path.split('/');
|
||||
return (parts[1] == 'album' || parts[1] == 'track') && parts[4];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue