forked from mirror/misskey
Fix 404
This commit is contained in:
parent
443f967611
commit
01584a6bf9
@ -23,8 +23,8 @@ export default Vue.extend({
|
||||
computed: {
|
||||
popout(): string {
|
||||
return this.game
|
||||
? `${url}/reversi/${this.game.id}`
|
||||
: `${url}/reversi`;
|
||||
? `${url}/games/reversi/${this.game.id}`
|
||||
: `${url}/games/reversi`;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -19,10 +19,10 @@ export default Vue.extend({
|
||||
methods: {
|
||||
nav(game, actualNav) {
|
||||
if (actualNav) {
|
||||
this.$router.push(`/reversi/${game.id}`);
|
||||
this.$router.push(`/games/reversi/${game.id}`);
|
||||
} else {
|
||||
// TODO: https://github.com/vuejs/vue-router/issues/703
|
||||
this.$router.push(`/reversi/${game.id}`);
|
||||
this.$router.push(`/games/reversi/${game.id}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user