Skip to content

Commit

Permalink
preventing application/json as default accept header
Browse files Browse the repository at this point in the history
  • Loading branch information
wowasa committed Feb 19, 2025
1 parent 3444ce7 commit 576586c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions curation-web/src/main/resources/static/js/curation.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Dropzone.autoDiscover = false;

$("div#cmdi-dropzone").dropzone({
url: "/curate",
headers: {'Accept': 'text/html, application/xhtml+xml'},
paramName: "file", // The name that will be used to transfer the file
maxFilesize: 5, // MB
success: function(file, done) {
Expand Down

0 comments on commit 576586c

Please sign in to comment.