-
Ahmad Saladin authoredec584a8e
http-common.js 253 B
import axios from 'axios';
const token = localStorage.getItem('token')
export const HTTP = axios.create({
baseURL: `https://simkpi-backend.herokuapp.com/api/`,
headers: {
Accept: 'application/json',
Authorization: `Bearer ${token}`
}
})