Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed May 23, 2022
1 parent c58ef95 commit 4eb7479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minify/minify.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func init() {
Default.AddFunc("text/css", css.Minify)
Default.AddFunc("text/html", html.Minify)
Default.AddFunc("image/svg+xml", svg.Minify)
Default.AddRegexp(regexp.MustCompile("^(application|text)/(x-)?(java|ecma|j|live)script(1\\.[0-5])?$|^module$"), js.Minify)
Default.AddFuncRegexp(regexp.MustCompile("^(application|text)/(x-)?(java|ecma|j|live)script(1\\.[0-5])?$|^module$"), js.Minify)
Default.AddFuncRegexp(regexp.MustCompile("[/+]json$"), json.Minify)
Default.AddFuncRegexp(regexp.MustCompile("[/+]xml$"), xml.Minify)
}
Expand Down

0 comments on commit 4eb7479

Please sign in to comment.