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:
1 parent
d0df105dda
commit
bb8fd5500d
2 files changed
+3
-5
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ export default async function (context) {
|
||||
|
||||
if (!context.$auth.user) {
|
||||
return context.redirect(
|
||||
`${context.$axios.defaults.baseURL}auth/init?url=${process.env.domain}${context.route.fullPath}`
|
||||
`${context.$axios.defaults.baseURL}auth/init?url=${context.store.app.$config.utils.domain}${context.route.fullPath}`
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user