This commit is contained in:
Sam Potts 2016-05-15 18:59:13 +10:00
parent 21c2276359
commit c86b824a04

View File

@ -234,6 +234,7 @@ options = {
symlinks: function(version, filename) {
return {
headers: {
// http://stackoverflow.com/questions/2272835/amazon-s3-object-redirect
"X-Amz-Website-Redirect-Location": "/" + version + "/" + filename,
"Cache-Control": "no-cache, no-store, must-revalidate, max-age=0"
}