update code

This commit is contained in:
leonard
2025-07-24 14:45:30 +07:00
parent bcf4015cae
commit bbd037dcb4
5 changed files with 50 additions and 15 deletions

View File

@ -1,5 +1,6 @@
import $cookie from 'vue-cookie';
export default ({ $axios, res }) => {
$axios.defaults.baseURL = '/api/';
$axios.onRequest(config => {
config.headers.common['AUTHENTICATION_FEMS_SESSION'] = `${$cookie.get(
'FEMS_SESSION',