diff --git a/modules/caddyhttp/fileserver/browsetplcontext.go b/modules/caddyhttp/fileserver/browsetplcontext.go index 489e8c05..d420c489 100644 --- a/modules/caddyhttp/fileserver/browsetplcontext.go +++ b/modules/caddyhttp/fileserver/browsetplcontext.go @@ -264,7 +264,7 @@ func (l byTime) Less(i, j int) bool { return l.Items[i].ModTime.Before(l.Items[j const ( sortByName = "name" - sortByNameDirFirst = "name_dir_first" + sortByNameDirFirst = "namedirfirst" sortBySize = "size" sortByTime = "time" )