Restore exitUrl to fix issue when logging out

This commit is contained in:
Roman Cervantes 2019-11-04 11:30:55 -07:00
parent e6ad62351b
commit cd2f4750ae

View file

@ -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() {