Commit e78ef3ee authored by Taylor Otwell's avatar Taylor Otwell

tweak js file

parent b9db2864
This diff is collapsed.
...@@ -25,7 +25,10 @@ window.Vue = require('vue'); ...@@ -25,7 +25,10 @@ window.Vue = require('vue');
*/ */
window.axios = require('axios'); window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
window.axios.defaults.headers.common = {
'X-Requested-With': 'XMLHttpRequest'
};
/** /**
* Echo exposes an expressive API for subscribing to channels and listening * Echo exposes an expressive API for subscribing to channels and listening
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment