Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fix: send trickle param to trigger trickle dag builder (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain authored and Alan Shaw committed May 21, 2019
1 parent 6ce77f7 commit a28b009
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/send-files-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ module.exports = (send, path) => {
qs['wrap-with-directory'] = propOrProp(options, 'wrap-with-directory', 'wrapWithDirectory')
qs.hash = propOrProp(options, 'hash', 'hashAlg')

if (options.strategy === 'trickle' || options.trickle) {
qs['trickle'] = 'true'
}

const args = {
path: path,
qs: qs,
Expand Down

0 comments on commit a28b009

Please sign in to comment.