diff --git a/leech b/leech index 1578300..a73bfc5 100755 Binary files a/leech and b/leech differ diff --git a/route/route.go b/route/route.go index 760d16d..8526716 100644 --- a/route/route.go +++ b/route/route.go @@ -49,9 +49,7 @@ func HandleList(c *fiber.Ctx) error { for k := range config.Config.ServeDirs { keys = append(keys, k) } - sort.Slice(keys, func(i, j int) bool { - return i < j - }) + sort.Strings(keys) entries := make([]html.Entry, 0, len(config.Config.ServeDirs)) for _, key := range keys {