You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
364 B
14 lines
364 B
import axios from 'axios';
|
|
|
|
const apiClient = axios.create({
|
|
baseURL: 'https://codefirst.iut.uca.fr/containers/Optifit-optifit-ef-api/api/v1/',
|
|
timeout: 10000,
|
|
headers: {
|
|
'Accept': 'application/json',
|
|
'Content-Type': 'application/json',
|
|
// ajoute ici les headers supplémentaires, ex. Auth
|
|
},
|
|
});
|
|
|
|
export default apiClient;
|