unify markdown mime to text/x-markdown

This commit is contained in:
zadam
2019-02-25 21:57:11 +01:00
parent 4b1cf05c0e
commit 003eed368b
3 changed files with 6 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ async function exportSingleNote(exportContext, branch, format, res) {
const turndownService = new TurndownService();
payload = turndownService.turndown(noteContent.content);
extension = 'md';
mime = 'text/markdown'
mime = 'text/x-markdown'
}
}
else if (note.type === 'code') {