Skip to content

Commit

Permalink
feat: add mime type for jsonl file ext
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandjitsu committed Nov 2, 2024
1 parent 0dff2f9 commit f159a4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,8 @@ export const COMMON_MIME_TYPES = new Map([
['json', 'application/json'],
['json5', 'application/json5'],
['jsonld', 'application/ld+json'],
// https://jsonlines.org/
['jsonl', 'application/jsonl'],
['jsonml', 'application/jsonml+json'],
['jsx', 'text/jsx'],
['jxr', 'image/jxr'],
Expand Down

0 comments on commit f159a4a

Please sign in to comment.