| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -427,8 +427,8 @@ def _default_mime_types(): | |||
| 427 | 427 | # Make sure the entry with the preferred file extension for a particular mime type | |
| 428 | 428 | # appears before any others of the same mimetype. | |
| 429 | 429 | types_map = _types_map_default = { | |
| 430 | - '.js' : 'application/javascript', | ||
| 431 | - '.mjs' : 'application/javascript', | ||
| 430 | + '.js' : 'text/javascript', | ||
| 431 | + '.mjs' : 'text/javascript', | ||
| 432 | 432 | '.json' : 'application/json', | |
| 433 | 433 | '.webmanifest': 'application/manifest+json', | |
| 434 | 434 | '.doc' : 'application/msword', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments