Skip to content

Commit 706918d

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 61bf083 commit 706918d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_helpers/mime.node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ const MIMETYPE_TEXT_PLAIN: MimeType = 'text/plain'
2525

2626
const MAP_TEXT_EXTENSION_MIMETYPE: Readonly<Record<string, MimeType>> = {
2727
'': MIMETYPE_TEXT_PLAIN,
28-
// https://www.iana.org/assignments/media-types/media-types.xhtml
28+
// https://www.iana.org/assignments/media-types/media-types.xhtml#text
2929
'.csv': 'text/csv',
3030
'.htm': 'text/html',
3131
'.html': 'text/html',
3232
'.md': 'text/markdown',
3333
'.txt': MIMETYPE_TEXT_PLAIN,
3434
'.rst': 'text/prs.fallenstein.rst',
35+
'.rtf': 'text/rtf', // not `application/xml` -- our scope is text!
3536
'.xml': 'text/xml', // not `application/xml` -- our scope is text!
36-
// to be continued ... pullrequests welcome
3737
// add more mime types above this line. pull-requests welcome!
3838
// license-specific files
3939
'.license': MIMETYPE_TEXT_PLAIN,

0 commit comments

Comments
 (0)