show inf when displaying storage limit and there is no limit

This commit is contained in:
2026-12-05 16:40:42 -05:00
parent f943f4d95d
commit 14939090d5
3 changed files with 11 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ func HomeHandler(pages *Pages, cfg config.Config) http.HandlerFunc {
}
if cfg.DisplayStorageLimit {
data["DisplayStorageLimit"] = true
data["StorageLimit"] = humanize.Bytes(uint64(cfg.MaxStorageUsage))
}
if cfg.DisplayStorageUsage {