From 01584a6bf984e09b8c4b5f146ac3a6a792e365ca 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 10db062362..9f8e0a2aa9 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 d281e0b674..b859b95d7f 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}`); } } }