From e59e2dd3d9f648a26099a308a4ceca95ef0d424c Mon Sep 17 00:00:00 2001 From: Xmader Date: Sun, 8 Mar 2020 17:23:00 -0400 Subject: [PATCH] update mscz download URL --- dist/main.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/main.js b/dist/main.js index 79abd4c..5206c95 100644 --- a/dist/main.js +++ b/dist/main.js @@ -28878,7 +28878,7 @@ Please pipe the document into a Node stream.\ const baseURL = scorePlayer.urls.image_path; // const msczURL = `https://musescore.com/static/musescore/scoredata/score/${getIndexPath(id)}/${id}/score_${vid}_${scoreHexId}.mscz` // https://github.com/Xmader/cloudflare-worker-musescore-mscz - const msczURL = `https://musescore-mscz.99.workers.dev/${id}`; + const msczURL = `https://musescore.now.sh/api/mscz?id=${id}`; const mxlURL = baseURL + "score.mxl"; const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls; const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[4]; diff --git a/src/main.ts b/src/main.ts index 623ac36..3d28ca8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -72,7 +72,7 @@ const main = () => { // const msczURL = `https://musescore.com/static/musescore/scoredata/score/${getIndexPath(id)}/${id}/score_${vid}_${scoreHexId}.mscz` // https://github.com/Xmader/cloudflare-worker-musescore-mscz - const msczURL = `https://musescore-mscz.99.workers.dev/${id}` + const msczURL = `https://musescore.now.sh/api/mscz?id=${id}` const mxlURL = baseURL + "score.mxl" const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls