Skip to content

Commit

Permalink
cmd: add .rss, .xhtml, and .webmanifest mimetypes, see #438
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Sep 29, 2023
1 parent 467561b commit 39b0c09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/minify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ var extMap = map[string]string{
"js": "application/javascript",
"mjs": "application/javascript",
"json": "application/json",
"rss": "application/rss+xml",
"svg": "image/svg+xml",
"xml": "text/xml",
"webmanifest": "application/manifest+json",
"xhtml": "application/xhtml-xml",
"xml": "text/xml",
}

var (
Expand Down

0 comments on commit 39b0c09

Please sign in to comment.