aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/fileserver/matcher.go
diff options
context:
space:
mode:
authorSuccess Go <[email protected]>2020-02-28 10:30:48 +0800
committerGitHub <[email protected]>2020-02-27 19:30:48 -0700
commitca5c6798806546180994ab7c08e60a5ffeb69394 (patch)
tree8ba21a48ed0566f0a0c9bfa4324067b2cab5cda3 /modules/caddyhttp/fileserver/matcher.go
parente2d41ee7619bf88d9cd01ac92911fda8625bd02d (diff)
downloadcaddy-ca5c6798806546180994ab7c08e60a5ffeb69394.tar.gz
caddy-ca5c6798806546180994ab7c08e60a5ffeb69394.zip
Fix typos (#3087)
* Fix typo * Fix typo, thanks for Spell Checker under VS Code
Diffstat (limited to 'modules/caddyhttp/fileserver/matcher.go')
-rw-r--r--modules/caddyhttp/fileserver/matcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/fileserver/matcher.go b/modules/caddyhttp/fileserver/matcher.go
index ed5c102d6..1915fb70e 100644
--- a/modules/caddyhttp/fileserver/matcher.go
+++ b/modules/caddyhttp/fileserver/matcher.go
@@ -51,7 +51,7 @@ type MatchFile struct {
Root string `json:"root,omitempty"`
// The list of files to try. Each path here is
- // considered relatice to Root. If nil, the request
+ // considered related to Root. If nil, the request
// URL's path will be assumed. Files and
// directories are treated distinctly, so to match
// a directory, the filepath MUST end in a forward