diff options
Diffstat (limited to 'Userland/Libraries/LibCore')
-rw-r--r-- | Userland/Libraries/LibCore/MimeData.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibCore/MimeData.cpp b/Userland/Libraries/LibCore/MimeData.cpp index ae94d041f9..4ee2a3d955 100644 --- a/Userland/Libraries/LibCore/MimeData.cpp +++ b/Userland/Libraries/LibCore/MimeData.cpp @@ -89,6 +89,8 @@ String guess_mime_type_based_on_filename(StringView path) return "text/html"; if (path.ends_with(".csv", CaseSensitivity::CaseInsensitive)) return "text/csv"; + if (path.ends_with(".sheets", CaseSensitivity::CaseInsensitive)) + return "application/x-sheets+json"; // FIXME: Share this, TextEditor and HackStudio language detection somehow. auto basename = LexicalPath::basename(path); if (path.ends_with(".cpp", CaseSensitivity::CaseInsensitive) |