diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js index 4e8b9586..e89ea5a6 100644 --- a/resources/assets/js/bootstrap.js +++ b/resources/assets/js/bootstrap.js @@ -28,6 +28,7 @@ window.Vue = require('vue'); window.axios = require('axios'); window.axios.defaults.headers.common = { + 'X-CSRF-TOKEN': window.Laravel.csrfToken, 'X-Requested-With': 'XMLHttpRequest' };