Skip to content

Commit

Permalink
Change mime-type to text/javascript (getgrav#3415)
Browse files Browse the repository at this point in the history
Recommended by whatwg and draft-ietf-dispatch-javascript-mjs-09 (obsoletes RFC4329)
  • Loading branch information
Rotzbua authored Jul 31, 2021
1 parent 2e9fe80 commit b3af6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/config/media.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ types:
js:
type: file
thumb: media/thumb-js.png
mime: application/javascript
mime: text/javascript
json:
type: file
thumb: media/thumb-json.png
Expand Down

0 comments on commit b3af6c9

Please sign in to comment.