diff --git a/lib/knox-provider.js b/lib/knox-provider.js index 929e4f7..21863a7 100644 --- a/lib/knox-provider.js +++ b/lib/knox-provider.js @@ -29,6 +29,10 @@ function S3Storage(options) { } util.inherits(S3Storage, attachments.StorageProvider); +S3Storage.prototype.getUrl = function( path ){ + return this.endpoint + path; +}; + S3Storage.prototype.createOrReplace = function(attachment, cb) { var self = this; var headers = {};