diff --git a/src/interface/desktop/main.js b/src/interface/desktop/main.js index 2e9f7989..978b8220 100644 --- a/src/interface/desktop/main.js +++ b/src/interface/desktop/main.js @@ -116,7 +116,7 @@ function filenameToMimeType (filename) { } function isSupportedFileType(filePath) { - const fileExtension = filePath.split('.').pop(); + const fileExtension = filePath.split('.').pop().toLowerCase(); return validFileTypes.includes(fileExtension); }