feat: remove unused midiUrl

This commit is contained in:
Xmader 2020-10-18 03:29:37 -04:00
parent 14dd45024b
commit 0da95e6fce

View file

@ -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'
},