mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-29 19:58:52 +00:00
7 lines
209 B
Text
7 lines
209 B
Text
![]() |
$(document).on('ajaxSend',function(elm, xhr, settings) {
|
||
|
if(settings.crossDomain === false) {
|
||
|
xhr.setRequestHeader('requesttoken', oc_requesttoken);
|
||
|
xhr.setRequestHeader('OCS-APIREQUEST', 'true');
|
||
|
}
|
||
|
});
|