Browse Source

minor

pull/5704/head
chrislu 6 months ago
parent
commit
07f47776c3
  1. 4
      weed/server/filer_server_handlers_read_dir.go

4
weed/server/filer_server_handlers_read_dir.go

@ -31,8 +31,8 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
path = path[:len(path)-1]
}
limit, limit_err := strconv.Atoi(r.FormValue("limit"))
if limit_err != nil {
limit, limitErr := strconv.Atoi(r.FormValue("limit"))
if limitErr != nil {
limit = fs.option.DirListingLimit
}

Loading…
Cancel
Save