summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/fileserver/staticfiles.go
diff options
context:
space:
mode:
authorAdam Burgess <adamburgess@users.noreply.github.com>2021-12-06 17:48:40 +1100
committerGitHub <noreply@github.com>2021-12-05 23:48:40 -0700
commitdce81e85d5dad5f3610f775a0d29544b6b1d2b61 (patch)
tree785b0f4cba34821c738c9f46d6fa6730ea1f1e1e /modules/caddyhttp/fileserver/staticfiles.go
parenta1b417c832b4ab3dab9eaa9690e1d07672a949b8 (diff)
docs: use backticks to not italicise glob path (#4460)
Diffstat (limited to 'modules/caddyhttp/fileserver/staticfiles.go')
-rw-r--r--modules/caddyhttp/fileserver/staticfiles.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/fileserver/staticfiles.go b/modules/caddyhttp/fileserver/staticfiles.go
index 3e096e1..0114607 100644
--- a/modules/caddyhttp/fileserver/staticfiles.go
+++ b/modules/caddyhttp/fileserver/staticfiles.go
@@ -46,7 +46,7 @@ type FileServer struct {
Root string `json:"root,omitempty"`
// A list of files or folders to hide; the file server will pretend as if
- // they don't exist. Accepts globular patterns like "*.ext" or "/foo/*/bar"
+ // they don't exist. Accepts globular patterns like `*.ext` or `/foo/*/bar`
// as well as placeholders. Because site roots can be dynamic, this list
// uses file system paths, not request paths. To clarify, the base of
// relative paths is the current working directory, NOT the site root.