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:
parent
7a20dd2cd9
commit
a903995ee7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue