0
Fork 0
mirror of https://github.com/willnorris/imageproxy.git synced 2024-12-16 21:56:43 -05:00

empty ContentTypes allows all types

This commit is contained in:
Will Norris 2018-10-02 16:14:12 +00:00
parent 7a20dd2cd9
commit a903995ee7

View file

@ -73,8 +73,8 @@ type Proxy struct {
// If true, log additional debug messages
Verbose bool
// ContentTypes specifies a list of content types to allow. An empty list means only image types
// are allowed.
// ContentTypes specifies a list of content types to allow. An empty
// list means all content types are allowed.
ContentTypes []string
}