mirror of
https://github.com/koel/koel
synced 2024-11-10 14:44:13 +00:00
Fix router paths
This commit is contained in:
parent
e19b5e5c79
commit
7ab5c76ef0
1 changed files with 2 additions and 2 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue