slink/laravel/resources/js/bootstrap.js

5 lines
127 B
JavaScript

import axios from 'axios';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';