Skip to content

Commit

Permalink
Remove application/srt alias from Srt
Browse files Browse the repository at this point in the history
  • Loading branch information
joksas committed Jan 17, 2022
1 parent 53e4fed commit 1de8108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion supported_mimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Extension | MIME type | Aliases
**.har** | application/json | -
**.ndjson** | application/x-ndjson | -
**.rtf** | text/rtf | -
**.srt** | text/x-subrip | text/x-srt, application/srt
**.srt** | text/x-subrip | text/x-srt
**.tcl** | text/x-tcl | application/x-tcl
**.csv** | text/csv | -
**.tsv** | text/tab-separated-values | -
Expand Down
2 changes: 1 addition & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var (
php = newMIME("text/x-php", ".php", magic.Php)
rtf = newMIME("text/rtf", ".rtf", magic.Rtf)
srt = newMIME("text/x-subrip", ".srt", magic.Srt).
alias("text/x-srt", "application/srt")
alias("text/x-srt")
js = newMIME("application/javascript", ".js", magic.Js).
alias("application/x-javascript", "text/javascript")
lua = newMIME("text/x-lua", ".lua", magic.Lua)
Expand Down

0 comments on commit 1de8108

Please sign in to comment.