mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 16:37:56 +08:00
fix on pagination
This commit is contained in:
@@ -44,6 +44,10 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
|
||||
path = ""
|
||||
}
|
||||
|
||||
if len(entries) > 0 {
|
||||
lastFileName = entries[len(entries)-1].Name()
|
||||
}
|
||||
|
||||
args := struct {
|
||||
Path string
|
||||
Entries interface{}
|
||||
|
Reference in New Issue
Block a user