Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit a28b009

Browse files
achingbrainAlan Shaw
authored and
Alan Shaw
committed
fix: send trickle param to trigger trickle dag builder (#1015)
1 parent 6ce77f7 commit a28b009

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils/send-files-stream.js

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ module.exports = (send, path) => {
8181
qs['wrap-with-directory'] = propOrProp(options, 'wrap-with-directory', 'wrapWithDirectory')
8282
qs.hash = propOrProp(options, 'hash', 'hashAlg')
8383

84+
if (options.strategy === 'trickle' || options.trickle) {
85+
qs['trickle'] = 'true'
86+
}
87+
8488
const args = {
8589
path: path,
8690
qs: qs,

0 commit comments

Comments
 (0)