Skip to content

Commit d3e3484

Browse files
committed
add save key
1 parent 95f0182 commit d3e3484

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

qiniu/rs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ PutPolicy.prototype.getFlags = function(putPolicy) {
199199
if (this.detectMime != null) {
200200
flags['detectMime'] = this.detectMime;
201201
}
202+
if (this.saveKey != null) {
203+
flags['saveKey'] = this.saveKey;
204+
}
202205
flags['deadline'] = this.expires + Math.floor(Date.now() / 1000);
203206
return flags;
204207
}

0 commit comments

Comments
 (0)