change header

This commit is contained in:
Taylor Otwell 2016-08-10 09:15:28 -05:00
parent 9c0278274b
commit 54d3f325ad
1 changed files with 1 additions and 1 deletions

View File

@ -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();
});