You've already forked AstralRinth
forked from didirus/AstralRinth
Remove all uses of process.env.domain (#247)
* Remove all uses of `process.env.domain` * Remove broken link on logout on revoke token page
This commit is contained in:
@@ -51,11 +51,9 @@
|
||||
export default {
|
||||
components: {},
|
||||
methods: {
|
||||
async logout() {
|
||||
logout() {
|
||||
this.$cookies.set('auth-token-reset', true)
|
||||
await this.$router.replace(
|
||||
`auth/init?url=${process.env.domain}${this.$route.fullPath}`
|
||||
)
|
||||
window.location.href = '/'
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user