Browse Source

Android: Associate .json files with the application/json mime-type

v7.0.9
hogliux 2 years ago
parent
commit
e30f6e7c0d
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      modules/juce_core/files/juce_common_MimeTypes.cpp

+ 3
- 2
modules/juce_core/files/juce_common_MimeTypes.cpp 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"},


Loading…
Cancel
Save