7 lines
196 B
JavaScript
7 lines
196 B
JavaScript
import axios from "axios";
|
|
|
|
window.axios = axios;
|
|
|
|
axios.defaults.headers.common["X-CSRF-TOKEN"] = FleetCart.csrfToken;
|
|
axios.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest";
|