Skip to content

Commit bb6a806

Browse files
committed
24 hours in seconds is 86400, not 86400000
1 parent c4561a4 commit bb6a806

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The preferred method is to use the default AWS credentials pattern. If no AWS c
3838
"baseUrl": null, // default value
3939
"baseUrlDirect": false, // default value
4040
"signatureVersion": 'v4', // default value
41-
"globalCacheControl": null // default value. Or 'public, max-age=86400000' for 24 hrs Cache-Control
41+
"globalCacheControl": null // default value. Or 'public, max-age=86400' for 24 hrs Cache-Control
4242
}
4343
}
4444
}
@@ -83,7 +83,7 @@ var s3Adapter = new S3Adapter('accessKey',
8383
directAccess: false,
8484
baseUrl: 'http://images.example.com',
8585
signatureVersion: 'v4',
86-
globalCacheControl: 'public, max-age=86400000' // 24 hrs Cache-Control.
86+
globalCacheControl: 'public, max-age=86400' // 24 hrs Cache-Control.
8787
});
8888
8989
var api = new ParseServer({
@@ -117,7 +117,7 @@ var s3Options = {
117117
"directAccess": false, // default value
118118
"baseUrl": null // default value
119119
"signatureVersion": 'v4', // default value
120-
"globalCacheControl": null // default value. Or 'public, max-age=86400000' for 24 hrs Cache-Control
120+
"globalCacheControl": null // default value. Or 'public, max-age=86400' for 24 hrs Cache-Control
121121
}
122122
123123
var s3Adapter = new S3Adapter(s3Options);

0 commit comments

Comments
 (0)