mirror of
https://github.com/caddyserver/caddy.git
synced 2026-09-01 00:48:03 +00:00
Minor tweaks
This commit is contained in:
parent
f217181293
commit
bdf92ee84e
3 changed files with 6 additions and 6 deletions
|
|
@ -27,7 +27,7 @@ func init() {
|
|||
})
|
||||
}
|
||||
|
||||
// Zstd can create zstd encoders.
|
||||
// Zstd can create Zstandard encoders.
|
||||
type Zstd struct{}
|
||||
|
||||
// AcceptEncoding returns the name of the encoding as
|
||||
|
|
|
|||
|
|
@ -76,9 +76,8 @@ func (m MatchFile) Match(r *http.Request) bool {
|
|||
if matched {
|
||||
repl.Set("http.matchers.file.relative", rel)
|
||||
repl.Set("http.matchers.file.absolute", abs)
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return matched
|
||||
}
|
||||
|
||||
// selectFile chooses a file according to m.TryPolicy by appending
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue