You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -133,9 +134,16 @@ func (i *gatewayHandler) serveDirectory(w http.ResponseWriter, r *http.Request,
133
134
}
134
135
dirListing=append(dirListing, di)
135
136
}
137
+
varwarnMaxDirectorySizestring
136
138
ifdirit.Err() !=nil {
137
-
internalWebError(w, dirit.Err())
138
-
return
139
+
select {
140
+
case<-directoryTooBig:
141
+
warnMaxDirectorySize=fmt.Sprintf("Directories bigger than %d items can't be rendered fully. Try using the CLI: ipfs ls -s --size=false --resolve-type=false %s",
0 commit comments