mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 17:19:16 +02:00
Fix #650: Support setting a server URL in settings.json
This commit is contained in:
parent
6d0a4594c4
commit
c20f1ad22e
5 changed files with 104 additions and 39 deletions
|
@ -126,15 +126,15 @@ axios.interceptors.response.use(function (response) {
|
|||
return Promise.reject(error)
|
||||
})
|
||||
|
||||
store.dispatch('instance/fetchFrontSettings')
|
||||
store.dispatch('instance/fetchFrontSettings').finally(() => {
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
store,
|
||||
template: '<App/>',
|
||||
components: { App }
|
||||
})
|
||||
|
||||
/* eslint-disable no-new */
|
||||
new Vue({
|
||||
el: '#app',
|
||||
router,
|
||||
store,
|
||||
template: '<App/>',
|
||||
components: { App }
|
||||
logger.default.info('Everything loaded!')
|
||||
})
|
||||
|
||||
logger.default.info('Everything loaded!')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue