delete $name policy (#831)

pull/945/head
Songtao 3 years ago committed by GitHub
parent c85c2da523
commit e6959a5026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -344,7 +344,6 @@ func (handler Driver) Token(ctx context.Context, TTL int64, key string) (seriali
map[string]string{"bucket": handler.Policy.BucketName},
[]string{"starts-with", "$key", savePath},
[]string{"starts-with", "$success_action_redirect", apiURL.String()},
[]string{"starts-with", "$name", ""},
[]string{"starts-with", "$Content-Type", ""},
map[string]string{"x-amz-algorithm": "AWS4-HMAC-SHA256"},
},

Loading…
Cancel
Save