show inf when displaying storage limit and there is no limit
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user