This commit is contained in:
2026-02-25 13:28:26 -08:00
parent 78852c1543
commit 2233d08fb5
2 changed files with 1 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ func UploadHandler(st *store.Store) http.HandlerFunc {
return
}
r.Body = http.MaxBytesReader(w, r.Body, 4<<30)
r.Body = http.MaxBytesReader(w, r.Body, 5<<30)
if err := r.ParseMultipartForm(32 << 20); err != nil {
http.Error(w, "parse form: "+err.Error(), http.StatusBadRequest)
return