diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js index 70d4728e..eb05c217 100644 --- a/resources/assets/js/bootstrap.js +++ b/resources/assets/js/bootstrap.js @@ -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