diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-21 13:03:52 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-21 13:03:52 -0600 |
commit | 9d54f655aa7698ce683786dfc31b6f11df3c89d2 (patch) | |
tree | 45622139ef12ba5ae52bc6a08692721b4edb6490 /modules/caddyhttp/fileserver/staticfiles.go | |
parent | 65195a726d9ceff4bbf870b7baa7eff20cf35381 (diff) |
Take care of remaining TODOs in the browse responder
Diffstat (limited to 'modules/caddyhttp/fileserver/staticfiles.go')
-rw-r--r-- | modules/caddyhttp/fileserver/staticfiles.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/fileserver/staticfiles.go b/modules/caddyhttp/fileserver/staticfiles.go index 873c5fb..19f5f68 100644 --- a/modules/caddyhttp/fileserver/staticfiles.go +++ b/modules/caddyhttp/fileserver/staticfiles.go @@ -30,9 +30,9 @@ type FileServer struct { Root string `json:"root"` // default is current directory Hide []string `json:"hide"` IndexNames []string `json:"index_names"` - Files []string `json:"files"` // all relative to the root; default is request URI path - Rehandle bool `json:"rehandle"` // issue a rehandle (internal redirect) if request is rewritten + Files []string `json:"files"` // all relative to the root; default is request URI path SelectionPolicy string `json:"selection_policy"` + Rehandle bool `json:"rehandle"` // issue a rehandle (internal redirect) if request is rewritten Fallback caddyhttp.RouteList `json:"fallback"` Browse *Browse `json:"browse"` // TODO: Etag |