don't forget to remove the default sort too
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user