disable axios

This commit is contained in:
Benjamin Takats
2023-01-14 18:37:14 +01:00
parent 087dd390b9
commit 6bf6909fea
3 changed files with 1 additions and 70 deletions

View File

@@ -1,17 +1,6 @@
import _ from 'lodash';
window._ = _;
/**
* We'll load the axios HTTP library which allows us to easily issue requests
* to our Laravel back-end. This library automatically handles sending the
* CSRF token as a header based on the value of the "XSRF" token cookie.
*/
import axios from 'axios';
window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
/**
* Echo exposes an expressive API for subscribing to channels and listening
* for events that are broadcast by Laravel. Echo and event broadcasting