mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-24 06:48:35 +02:00
Updated JS dependencies.
This commit is contained in:
@@ -11,6 +11,9 @@ _axios.interceptors.request.use(
|
||||
function (config) {
|
||||
// Do something before request is sent
|
||||
config.baseURL = Vue.prototype.$config.API_BASE_URL
|
||||
if (store.state.auth.isAuthenticated) {
|
||||
config.headers['Accept-Language'] = store.state.auth.authUser.language
|
||||
}
|
||||
return config
|
||||
},
|
||||
function (error) {
|
||||
|
||||
Reference in New Issue
Block a user