You've already forked AstralRinth
forked from didirus/AstralRinth
Move auth domain to public runtime config (#246)
* Allow specifying a custom auth URL * Readd default * Move Host URL to top * wat * Move auth domain to public runtime config
This commit is contained in:
@@ -199,7 +199,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
authUrl() {
|
||||
return `${this.$axios.defaults.baseURL}auth/init?url=${process.env.domain}${this.$route.fullPath}`
|
||||
return `${this.$axios.defaults.baseURL}auth/init?url=${this.$store.app.$config.utils.domain}${this.$route.fullPath}`
|
||||
},
|
||||
userUrl() {
|
||||
return `/user/${this.$auth.user.id}`
|
||||
|
||||
Reference in New Issue
Block a user