mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-07 05:52:18 -04:00
Merge branch 'master' into drop-legacy-zerobin-support
This commit is contained in:
commit
c4e0abab02
3 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue