fix library display and docker compose update

This commit is contained in:
ShukeBta
2026-06-27 16:54:33 +08:00
parent 41f39d9701
commit a2be6a2127
19 changed files with 701 additions and 88 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func parseSizeString(value string, unit string) int64 {
if err != nil {
return 0
}
switch strings.ToLower(unit) {
switch strings.TrimSuffix(strings.ToLower(unit), "i") {
case "kb":
return int64(v * 1024)
case "mb":