mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Android: Associate .json files with the application/json mime-type
This commit is contained in:
parent
9d5b41e212
commit
e30f6e7c0d
1 changed files with 3 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ struct MimeTypeTableEntry
|
|||
{
|
||||
const char* fileExtension, *mimeType;
|
||||
|
||||
static MimeTypeTableEntry table[641];
|
||||
static MimeTypeTableEntry table[642];
|
||||
};
|
||||
|
||||
static StringArray getMatches (const String& toMatch,
|
||||
|
|
@ -62,7 +62,7 @@ StringArray getFileExtensionsForMimeType (const String& mimeType)
|
|||
} // namespace MimeTypeTable
|
||||
|
||||
//==============================================================================
|
||||
MimeTypeTableEntry MimeTypeTableEntry::table[641] =
|
||||
MimeTypeTableEntry MimeTypeTableEntry::table[642] =
|
||||
{
|
||||
{"3dm", "x-world/x-3dmf"},
|
||||
{"3dmf", "x-world/x-3dmf"},
|
||||
|
|
@ -281,6 +281,7 @@ MimeTypeTableEntry MimeTypeTableEntry::table[641] =
|
|||
{"jpg", "image/pjpeg"},
|
||||
{"jps", "image/x-jps"},
|
||||
{"js", "application/x-javascript"},
|
||||
{"json", "application/json"},
|
||||
{"jut", "image/jutvision"},
|
||||
{"kar", "audio/midi"},
|
||||
{"kar", "music/x-karaoke"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue