mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-25 21:06:24 +02: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
|
// If true, log additional debug messages
|
||||||
Verbose bool
|
Verbose bool
|
||||||
|
|
||||||
// ContentTypes specifies a list of content types to allow. An empty list means only image types
|
// ContentTypes specifies a list of content types to allow. An empty
|
||||||
// are allowed.
|
// list means all content types are allowed.
|
||||||
ContentTypes []string
|
ContentTypes []string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue