We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22fe0c9 commit 0bef990Copy full SHA for 0bef990
src/lib/db/FSNoteDb.ts
@@ -208,7 +208,8 @@ class FSNoteDb implements NoteDb {
208
for (const fileName of fileNames) {
209
const filePathname = this.getAttachmentPathname(fileName)
210
const mime = await readFileType(filePathname)
211
- if (!mime.startsWith('image/')) {
+
212
+ if (!mime.startsWith('image/') && !mime.startsWith('application/xml')) {
213
continue
214
}
215
0 commit comments