don't forget to remove the default sort too

This commit is contained in:
Your Name 2018-09-02 19:19:00 +00:00
parent a9b5198123
commit d6035aa01b
1 changed files with 0 additions and 2 deletions

View File

@ -98,8 +98,6 @@ func dirList(w http.ResponseWriter, r *http.Request, f http.File) {
}
sort.Slice(dirs, func(i, j int) bool { return dirs[i].Name() < dirs[j].Name() })
w.Header().Set("Content-Type", "text/html; charset=utf-8")
fmt.Fprintf(w, "<table border='0'>%s\n", tableheader)