Merge pull request #4068 from yuters/patch-1
Make axios compatible with Request::ajax()
This commit is contained in:
commit
b5ae7aff9f
|
@ -25,6 +25,7 @@ window.Vue = require('vue');
|
|||
*/
|
||||
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
|
|
Loading…
Reference in New Issue