6 lines
163 B
JavaScript
6 lines
163 B
JavaScript
|
$.ajaxSetup({
|
||
|
// Initialize headers from the csrf-token meta tag.
|
||
|
headers: {
|
||
|
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||
|
}
|
||
|
});
|