11 lines
208 B
JavaScript
11 lines
208 B
JavaScript
import axios from 'axios';
|
|
import { API_URL } from './config/config';
|
|
|
|
const api = axios.create({
|
|
baseURL: API_URL,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
});
|
|
|
|
export default api; |