Revert "Merge branch 'develop' of https://github.com/ciderapp/Cider into develop"

This reverts commit 065614d668, reversing
changes made to 51ef452dad.
This commit is contained in:
yazninja 2022-04-19 13:11:52 +08:00
parent 065614d668
commit 0f13566009
5 changed files with 46 additions and 124 deletions

View file

@ -1,26 +0,0 @@
const CiderKit = {
v1: {
musickit: {
async mkv3(route, body, options) {
let opts = {
method: 'POST',
cache: 'no-cache',
credentials: 'same-origin',
headers: {
'Content-Type': 'application/json'
},
redirect: 'follow',
referrerPolicy: 'no-referrer',
body: {}
}
opts.body = JSON.stringify({
route: route,
body: body,
options: options
})
let response = await fetch("http://localhost:9000/api/musickit/v3", opts);
return response.json()
}
}
}
}