loading: false,
showplaymenu: false,
showsearchbox: false,
- playmenuitem: null
+ playmenuitem: null,
+ server: null
}
})
Vue.prototype.$globals = globalStore;
localStorage.setItem('last_update', cur_update);
window.location.reload(true);
}
+ var loc = window.location;
+ console.log(loc);
+ this.$globals.server = loc;
},
data: { },
methods: {},
this.ws = new WebSocket(new_uri);
this.ws.onopen = function() {
- console.log('websocket connected!');
+ console.log('websocket connected! ' + new_uri);
this.createAudioPlayer();
data = JSON.stringify({message:'players', message_details: null});
this.ws.send(data);