mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-05 10:18:05 +09:00
Fix 404
This commit is contained in:
parent
f1243cf4c1
commit
8578d0898e
@ -23,8 +23,8 @@ export default Vue.extend({
|
|||||||
computed: {
|
computed: {
|
||||||
popout(): string {
|
popout(): string {
|
||||||
return this.game
|
return this.game
|
||||||
? `${url}/reversi/${this.game.id}`
|
? `${url}/games/reversi/${this.game.id}`
|
||||||
: `${url}/reversi`;
|
: `${url}/games/reversi`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -19,10 +19,10 @@ export default Vue.extend({
|
|||||||
methods: {
|
methods: {
|
||||||
nav(game, actualNav) {
|
nav(game, actualNav) {
|
||||||
if (actualNav) {
|
if (actualNav) {
|
||||||
this.$router.push(`/reversi/${game.id}`);
|
this.$router.push(`/games/reversi/${game.id}`);
|
||||||
} else {
|
} else {
|
||||||
// TODO: https://github.com/vuejs/vue-router/issues/703
|
// 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