rename
This commit is contained in:
@@ -15,7 +15,7 @@ func UploadHandler(st *store.Store) http.HandlerFunc {
|
|||||||
return
|
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 {
|
if err := r.ParseMultipartForm(32 << 20); err != nil {
|
||||||
http.Error(w, "parse form: "+err.Error(), http.StatusBadRequest)
|
http.Error(w, "parse form: "+err.Error(), http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user