feat: remove unused midiUrl
This commit is contained in:
parent
14dd45024b
commit
0da95e6fce
1 changed files with 1 additions and 4 deletions
|
@ -34,13 +34,10 @@ const scoreinfo = {
|
|||
get baseUrl (this: typeof scoreinfo): string {
|
||||
const thumbnailUrl = this.playerdata.thumbnails.original
|
||||
const { origin, pathname } = new URL(thumbnailUrl)
|
||||
// remove the last part
|
||||
return origin + pathname.split('/').slice(0, -1).join('/') + '/'
|
||||
},
|
||||
|
||||
get mxlUrl (this: typeof scoreinfo): string {
|
||||
return this.baseUrl + 'score.mxl'
|
||||
},
|
||||
|
||||
get midiUrl (this: typeof scoreinfo): string {
|
||||
return this.baseUrl + 'score.mid'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue