mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
Merge branch 'master' into drop-legacy-zerobin-support
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user