diff options
Diffstat (limited to 'minifiers')
-rw-r--r-- | minifiers/minifiers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minifiers/minifiers.go b/minifiers/minifiers.go index e76e56afd..3ac285ecb 100644 --- a/minifiers/minifiers.go +++ b/minifiers/minifiers.go @@ -78,7 +78,7 @@ func New(mediaTypes media.Types, outputFormats output.Formats, cfg config.Provid } if !conf.DisableJSON { addMinifier(m, mediaTypes, "json", &conf.Tdewolff.JSON) - m.AddRegexp(regexp.MustCompile(`^(application|text)/(x-|ld\+)?json$`), &conf.Tdewolff.JSON) + m.AddRegexp(regexp.MustCompile(`^(application|text)/(x-|(ld|manifest)\+)?json$`), &conf.Tdewolff.JSON) } if !conf.DisableSVG { addMinifier(m, mediaTypes, "svg", &conf.Tdewolff.SVG) |