laravel-api-simple-blog/resources/js/bootstrap.js

5 lines
127 B
JavaScript
Raw Normal View History

2024-10-15 19:30:20 +03:00
import axios from 'axios';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';