Merge branch 'main' of https://github.com/Apple-Music-Electron/Cider
This commit is contained in:
commit
da616cb5d5
1 changed files with 1 additions and 2 deletions
|
@ -42,10 +42,9 @@ var app = new Vue({
|
|||
|
||||
document.addEventListener('musickitloaded', function() {
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
let auth = urlParams.get('auth')
|
||||
// MusicKit global is now defined
|
||||
MusicKit.configure({
|
||||
developerToken: `${auth || ''}`,
|
||||
developerToken: `${urlParams.get('auth') || ''}`,
|
||||
app: {
|
||||
name: 'My Cool Web App',
|
||||
build: '1978.4.1'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue