Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes for S3 export script
  • Loading branch information
jbuck committed Oct 7, 2015
1 parent 87d3f2d commit 7364063
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -32,6 +32,7 @@
"newrelic": "1.5.5",
"node-statsd": "0.0.7",
"nunjucks": "0.1.9",
"request": "^2.64.0",
"uuid": "1.4.1",
"webmaker-auth": "0.1.4"
},
Expand Down
4 changes: 3 additions & 1 deletion scripts/export_to_s3.js
Expand Up @@ -162,7 +162,9 @@ function outputToS3(callback) {
s3.putObject({
Bucket: bucket,
Key: username + '/makes.json',
Body: JSON.stringify(makes)
Body: new Buffer(JSON.stringify(makes), 'utf8'),
ContentType: 'application/json; charset=utf-8',
CacheControl: 'public, max-age=86400'
}, callback);
}

Expand Down

0 comments on commit 7364063

Please sign in to comment.