Commit f4606d2b authored by Taylor Otwell's avatar Taylor Otwell Committed by GitHub

Merge pull request #3957 from WayneHarris/vue-resource

Update Vue Resource
parents 4eeec60d 76db1006
......@@ -26,7 +26,7 @@ require('vue-resource');
*/
Vue.http.interceptors.push((request, next) => {
request.headers['X-CSRF-TOKEN'] = Laravel.csrfToken;
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
next();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment