From 8578d0898e21093c420c8970e5378450fa17ce18 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 Jan 2019 17:25:36 +0900 Subject: [PATCH] Fix 404 --- src/client/app/desktop/views/components/game-window.vue | 4 ++-- src/client/app/desktop/views/pages/games/reversi.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/app/desktop/views/components/game-window.vue b/src/client/app/desktop/views/components/game-window.vue index 10db06236..9f8e0a2aa 100644 --- a/src/client/app/desktop/views/components/game-window.vue +++ b/src/client/app/desktop/views/components/game-window.vue @@ -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`; } } }); diff --git a/src/client/app/desktop/views/pages/games/reversi.vue b/src/client/app/desktop/views/pages/games/reversi.vue index d281e0b67..b859b95d7 100644 --- a/src/client/app/desktop/views/pages/games/reversi.vue +++ b/src/client/app/desktop/views/pages/games/reversi.vue @@ -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}`); } } }