change header
This commit is contained in:
2
resources/assets/js/bootstrap.js
vendored
2
resources/assets/js/bootstrap.js
vendored
@@ -26,7 +26,7 @@ require('vue-resource');
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
Vue.http.interceptors.push(function (request, next) {
|
Vue.http.interceptors.push(function (request, next) {
|
||||||
request.headers['X-XSRF-TOKEN'] = Laravel.csrfToken;
|
request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;
|
||||||
|
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user