We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e9ecb8 commit 9684c46Copy full SHA for 9684c46
src/serverHandler/responseData.go
@@ -321,13 +321,13 @@ func (h *handler) getResponseData(r *http.Request) (data *responseData) {
321
status = http.StatusInternalServerError
322
}
323
324
+ subItems = h.FilterItems(subItems)
325
+ sortSubItems(subItems)
326
+
327
if h.emptyRoot && status == http.StatusOK && r.RequestURI != "/" {
328
status = http.StatusNotFound
329
330
- subItems = h.FilterItems(subItems)
- sortSubItems(subItems)
-
331
subItemPrefix := getSubItemPrefix(rawReqPath, tailSlash)
332
333
canUpload := h.getCanUpload(item, rawReqPath, reqFsPath)
0 commit comments