certman/assets/static/js/main.js

6 lines
163 B
JavaScript
Raw Permalink Normal View History

2018-04-22 16:55:50 +02:00
$.ajaxSetup({
// Initialize headers from the csrf-token meta tag.
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});