Browse Source

change header

Taylor Otwell 7 years ago
parent
commit
54d3f325ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/assets/js/bootstrap.js

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

@@ -26,7 +26,7 @@ require('vue-resource');
  */
 
 Vue.http.interceptors.push(function (request, next) {
-    request.headers['X-XSRF-TOKEN'] = Laravel.csrfToken;
+    request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;
 
     next();
 });