sk_fems_ui commit
This commit is contained in:
11
plugins/axios.js
Normal file
11
plugins/axios.js
Normal file
@ -0,0 +1,11 @@
|
||||
import $cookie from 'vue-cookie';
|
||||
|
||||
export default ({ $axios, res }) => {
|
||||
$axios.onRequest(config => {
|
||||
|
||||
config.headers.common['AUTHENTICATION_FEMS_SESSION'] = `${$cookie.get(
|
||||
'FEMS_SESSION',
|
||||
)}`;
|
||||
// config.headers['set1-cookie'] = `${$cookie.get('FEMS_SESSION',)}`;
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user