mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-26 05:33:49 +03:00
fileserver: Fix policy Validate()
oversight (#6727)
This commit is contained in:
parent
fb72793269
commit
d0123bd760
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ func (m MatchFile) Validate() error {
|
|||
switch m.TryPolicy {
|
||||
case "",
|
||||
tryPolicyFirstExist,
|
||||
tryPolicyFirstExistFallback,
|
||||
tryPolicyLargestSize,
|
||||
tryPolicySmallestSize,
|
||||
tryPolicyMostRecentlyMod:
|
||||
|
|
Loading…
Reference in a new issue