mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-03 21:29:16 +02:00
Fixed broken frontend
This commit is contained in:
parent
e14744000a
commit
73637273dc
2 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,9 @@ export default {
|
|||
if (!this.$store.state.instance.instanceUrl) {
|
||||
let defaultInstanceUrl = process.env.VUE_APP_INSTANCE_URL || this.$store.getters['instance/defaultUrl']()
|
||||
this.$store.commit('instance/instanceUrl', defaultInstanceUrl)
|
||||
} else {
|
||||
// needed to trigger initialization of axios
|
||||
this.$store.commit('instance/instanceUrl', this.$store.state.instance.instanceUrl)
|
||||
}
|
||||
this.$store.dispatch('auth/check')
|
||||
this.$store.dispatch('instance/fetchSettings')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue