Merge branch 'master' into drop-legacy-zerobin-support

This commit is contained in:
El RIDO 2025-07-14 21:41:50 +02:00
commit c4e0abab02
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 6 additions and 3 deletions

View file

@ -4741,7 +4741,10 @@ jQuery.PrivateBin = (function($) {
* @readonly
* @enum {Object}
*/
const ajaxHeaders = {'X-Requested-With': 'JSONHttpRequest'};
const ajaxHeaders = {
'X-Requested-With': 'JSONHttpRequest',
'Content-Type': 'application/json'
};
/**
* called after successful upload