Skip to content

Commit

Permalink
Change application/javascript => text/javascript
Browse files Browse the repository at this point in the history
Fixes #223
  • Loading branch information
mjackson committed Oct 7, 2019
1 parent 6f880c6 commit 67db2cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/utils/getContentType.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import mime from 'mime';

mime.define(
{
'text/javascript': ['mjs'],
'text/plain': [
'authors',
'changes',
Expand Down
1 change: 1 addition & 0 deletions modules/utils/getLanguageName.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const contentTypeNames = {
'font/woff2': 'WOFF2',
'text/css': 'CSS',
'text/html': 'HTML',
'text/javascript': 'JavaScript',
'text/jsx': 'JSX',
'text/markdown': 'Markdown',
'text/plain': 'Plain Text',
Expand Down

0 comments on commit 67db2cf

Please sign in to comment.