Add .js and .json to known extensions

This commit is contained in:
Kovid Goyal 2020-10-25 20:25:31 +05:30
parent 95c44165e9
commit ef1486a779
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -16,6 +16,8 @@ known_extensions = {
'toml': 'text/toml', 'toml': 'text/toml',
'vim': 'text/vim', 'vim': 'text/vim',
'yaml': 'text/yaml', 'yaml': 'text/yaml',
'js': 'text/javascript',
'json': 'text/json',
} }