mirror of
https://github.com/romancm/gamebrary
synced 2025-02-25 11:17:10 +00:00
Restore exitUrl to fix issue when logging out
This commit is contained in:
parent
e6ad62351b
commit
cd2f4750ae
1 changed files with 7 additions and 0 deletions
|
@ -86,6 +86,13 @@ export default {
|
|||
isGameBoard() {
|
||||
return this.$route.name === 'game-board';
|
||||
},
|
||||
|
||||
exitUrl() {
|
||||
// TODO: move to getter and replace other instances
|
||||
return process.env.NODE_ENV === 'development'
|
||||
? 'http://localhost:3000'
|
||||
: 'https://gamebrary.com';
|
||||
},
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
|
Loading…
Add table
Reference in a new issue