mirror of
https://github.com/traefik/traefik
synced 2026-02-03 11:10:33 +00:00
Implements the includedContentTypes option for the compress middleware
This commit is contained in:
@@ -132,6 +132,11 @@ func (in *Compress) DeepCopyInto(out *Compress) {
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.IncludedContentTypes != nil {
|
||||
in, out := &in.IncludedContentTypes, &out.IncludedContentTypes
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user