1
0
Fork 0
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:
hogliux 2022-11-01 15:46:37 +01:00
parent 9d5b41e212
commit e30f6e7c0d

View file

@ -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"},