come on, work
This commit is contained in:
parent
43ceddc2fc
commit
1a172f8a59
1 changed files with 1 additions and 2 deletions
|
@ -42,10 +42,9 @@ var app = new Vue({
|
||||||
|
|
||||||
document.addEventListener('musickitloaded', function() {
|
document.addEventListener('musickitloaded', function() {
|
||||||
const urlParams = new URLSearchParams(window.location.search);
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
let auth = urlParams.get('auth')
|
|
||||||
// MusicKit global is now defined
|
// MusicKit global is now defined
|
||||||
MusicKit.configure({
|
MusicKit.configure({
|
||||||
developerToken: `${auth || ''}`,
|
developerToken: `${urlParams.get('auth') || ''}`,
|
||||||
app: {
|
app: {
|
||||||
name: 'My Cool Web App',
|
name: 'My Cool Web App',
|
||||||
build: '1978.4.1'
|
build: '1978.4.1'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue