summaryrefslogtreecommitdiff
path: root/app/node_modules/okservices
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-16 18:59:15 -0400
committerJules Laplace <jules@okfoc.us>2015-04-16 18:59:15 -0400
commit51d8c665d0c09f1c6222369eb674a1d83f6b2522 (patch)
treebc5e4a12b0f3e6085e5583c81ab7b6f145d7611f /app/node_modules/okservices
parente8d11fe1b27e867c5deb365b66fc8f84d9644a4c (diff)
add dirname to the uploaded images
Diffstat (limited to 'app/node_modules/okservices')
-rw-r--r--app/node_modules/okservices/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/node_modules/okservices/index.js b/app/node_modules/okservices/index.js
index 46f7ffd..015fff0 100644
--- a/app/node_modules/okservices/index.js
+++ b/app/node_modules/okservices/index.js
@@ -21,6 +21,7 @@ function OKImageService(options) {
key: options.s3.key,
secret: options.s3.secret,
bucket: options.s3.bucket,
+ dirname: options.s3.dirname,
headers: {
'x-amz-acl': 'public-read'
}