We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b9a59 commit 0d31e29Copy full SHA for 0d31e29
resources/assets/js/bootstrap.js
@@ -27,10 +27,8 @@ window.Vue = require('vue');
27
28
window.axios = require('axios');
29
30
-window.axios.defaults.headers.common = {
31
- 'X-CSRF-TOKEN': window.Laravel.csrfToken,
32
- 'X-Requested-With': 'XMLHttpRequest'
33
-};
+window.axios.defaults.headers.common['X-CSRF-TOKEN'] = window.Laravel.csrfToken;
+window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
34
35
/**
36
* Echo exposes an expressive API for subscribing to channels and listening
0 commit comments