Skip to content

Commit 6ec5014

Browse files
committed
Merge pull request #103 from ahan/develop
add transform and fopTimeout params
2 parents f4ac86d + e1c82ad commit 6ec5014

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qiniu/rs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ PutPolicy.prototype.getFlags = function(putPolicy) {
189189
if (this.persistentNotifyUrl != null) {
190190
flags['persistentNotifyUrl'] = this.persistentNotifyUrl;
191191
}
192+
if (this.transform != null) {
193+
flags['transform'] = this.transform;
194+
}
195+
if (this.fopTimeout != null) {
196+
flags['fopTimeout'] = this.fopTimeout;
197+
}
192198
flags['deadline'] = this.expires + Math.floor(Date.now() / 1000);
193199
return flags;
194200
}

0 commit comments

Comments
 (0)