Skip to content

Commit

Permalink
leading slash
Browse files Browse the repository at this point in the history
  • Loading branch information
dyashkir committed Aug 14, 2012
1 parent 8b13abe commit 283a18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -14,5 +14,5 @@ Module to sign urls to allow access to the private resources in the S3
var bucket1 = sig.urlSigner('my key2', 'my secret2');

var url1 = bucket1.getUrl('GET', 'somefile.png', 'mybucket', 10); //url expires in 10 minutes
var url2 = bucket2.getUrl('PUT', 'somefile.png', 'mybucketonotheraccount', 10); //url expires in 100 minutes
var url2 = bucket2.getUrl('PUT', '/somedir/somefile.png', 'mybucketonotheraccount', 10); //url expires in 100 minutes

0 comments on commit 283a18b

Please sign in to comment.