ovpn-certman/assets/static/js/main.js
2018-01-26 08:56:22 +01:00

6 lines
No EOL
163 B
JavaScript

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