Skip to content

Commit

Permalink
switching to text/javascript mimetype in documentation since that's w…
Browse files Browse the repository at this point in the history
…hat Mozilla recommends. the code already preferred this over application/javascript.
  • Loading branch information
dryan committed Apr 9, 2020
1 parent a94a9a2 commit 288578e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .d3ploy.json
Expand Up @@ -13,7 +13,7 @@
},
"defaults": {
"caches": {
"application/javascript": 2592000,
"text/javascript": 2592000,
"image/gif": 22896000,
"image/jpeg": 22896000,
"image/png": 22896000,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 288578e

Please sign in to comment.