Commit b92c98ef authored by Cory Bryant's avatar Cory Bryant

Re-add disable option

parent ac70dc89
......@@ -15,6 +15,10 @@ module.exports=function s3BackedRenditions(config, $){
throw new Error(`'${pluginId}' plugin installed, but missing needed config at: ${confPath}`)
if (s3conf.disable) {
return null;
var s3client = new aws.S3({
accessKeyId: s3conf.accessKeyId,
secretAccessKey: s3conf.secretAccessKey,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment