1
0

Allow users to login from search page when it is rendered serverside (#272)

* Change `this.$route.fullPath` → `this.$route.path`

* Closes modrinth/knossos#256
This commit is contained in:
venashial
2021-07-02 17:02:15 +00:00
committed by GitHub
parent 219d2246fa
commit f7da32702f

View File

@@ -199,7 +199,7 @@ export default {
},
computed: {
authUrl() {
return `${this.$axios.defaults.baseURL}auth/init?url=${this.$store.app.$config.utils.domain}${this.$route.fullPath}`
return `${this.$axios.defaults.baseURL}auth/init?url=${this.$store.app.$config.utils.domain}${this.$route.path}`
},
userUrl() {
return `/user/${this.$auth.user.id}`