Skip to content

Commit

Permalink
companion: send custom headers to tus uploads (transloadit#2338)
Browse files Browse the repository at this point in the history
* companion: send custom headers to tus uploads

fixes transloadit#2337

* tus: send headers to companion
  • Loading branch information
ifedapoolarewaju authored Jun 29, 2020
1 parent 9e3f7dc commit 8bdded7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/Uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ class Uploader {
uploadLengthDeferred: false,
retryDelays: [0, 1000, 3000, 5000],
uploadSize: this.bytesWritten,
headers: headerSanitize(this.options.headers),
addRequestId: true,
metadata: Object.assign(
{
Expand Down

0 comments on commit 8bdded7

Please sign in to comment.