diff --git a/.d3ploy.json b/.d3ploy.json index 3466e86..1da462a 100644 --- a/.d3ploy.json +++ b/.d3ploy.json @@ -13,7 +13,7 @@ }, "defaults": { "caches": { - "application/javascript": 2592000, + "text/javascript": 2592000, "image/gif": 22896000, "image/jpeg": 22896000, "image/png": 22896000, diff --git a/README.md b/README.md index cdf3e77..7ae14e4 100755 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The only required option for any environment is "bucket_name" for the S3 bucket }, "defaults": { "caches": { - "application/javascript": 2592000, + "text/javascript": 2592000, "image/gif": 22896000, "image/jpeg": 22896000, "image/png": 22896000, @@ -74,7 +74,7 @@ If you want to set Cache-Control headers on various files, add a `caches` object ``` "caches": { - "application/javascript": 2592000, + "text/javascript": 2592000, "image/gif": 22896000, "image/jpeg": 22896000, "image/png": 22896000,