mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-02 08:12:40 +02:00
Add option to override expire headers
This commit is contained in:
parent
95bcf70004
commit
3c7ff75344
4 changed files with 28 additions and 3 deletions
|
|
@ -166,7 +166,7 @@ func TestAllowed(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
p := NewProxy(nil, nil)
|
||||
p := NewProxy(nil, nil, map[string]string{})
|
||||
p.AllowHosts = tt.allowHosts
|
||||
p.DenyHosts = tt.denyHosts
|
||||
p.SignatureKeys = tt.keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue