diff --git a/model/lib/upload/file_info.dart b/model/lib/upload/file_info.dart index 8c9e7ec0a9..60580b06b9 100644 --- a/model/lib/upload/file_info.dart +++ b/model/lib/upload/file_info.dart @@ -26,7 +26,7 @@ class FileInfo with EquatableMixin { String get fileExtension => fileName.split('.').last; - String get mimeType => lookupMimeType(kIsWeb ? fileName : filePath) ?? 'application/json; charset=UTF-8'; + String get mimeType => lookupMimeType(kIsWeb ? fileName : filePath) ?? 'application/octet-stream'; @override List get props => [fileName, filePath, fileSize, readStream, bytes];