fix new game going to bad url
This commit is contained in:
parent
158c710572
commit
5e949f3d30
2 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ export default {
|
|||
})
|
||||
if (res.status === 200) {
|
||||
const game = await res.json()
|
||||
location.assign(game.url)
|
||||
this.$router.push({ name: 'game', params: { id: game.id } })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue