Updated JS dependencies.

This commit is contained in:
Antoine Nguyen
2021-06-30 12:04:22 +02:00
parent f4ed6a4430
commit 20df725f3e
5 changed files with 1908 additions and 1939 deletions
+3
View File
@@ -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) {