Browse Source

tweak js file

Taylor Otwell 7 years ago
parent
commit
e78ef3ee42
2 changed files with 4 additions and 1 deletions
  1. 0 0
      public/js/app.js
  2. 4 1
      resources/assets/js/bootstrap.js

File diff suppressed because it is too large
+ 0 - 0
public/js/app.js


+ 4 - 1
resources/assets/js/bootstrap.js

@@ -25,7 +25,10 @@ window.Vue = require('vue');
  */
 
 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

Some files were not shown because too many files changed in this diff