Fix router paths

This commit is contained in:
An Phan 2016-07-11 22:28:24 +08:00
parent e19b5e5c79
commit 7ab5c76ef0
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2

View file

@ -74,7 +74,7 @@ export default {
if (isMobile.apple.device) {
// Mobile Safari doesn't allow autoplay, so we just queue.
queueStore.queue(song);
this.go('/#!/queue');
this.go('queue');
} else {
playback.queueAndPlay(song);
}
@ -88,7 +88,7 @@ export default {
loadState() {
if (!window.location.hash) {
return this.go('/#!/home');
return this.go('home');
}
Object.keys(this.routes).forEach(route => {