diff --git a/internal/api/zone.go b/internal/api/zone.go index 8f6cbf1..ad44d39 100644 --- a/internal/api/zone.go +++ b/internal/api/zone.go @@ -36,7 +36,7 @@ func RecieveFile(w http.ResponseWriter, r *http.Request) { var buf bytes.Buffer - r.Body = http.MaxBytesReader(w, r.Body, 1*1024*1024) // approx 500 kb max upload + r.Body = http.MaxBytesReader(w, r.Body, 1*1024*1024) // approx 1 mb max upload file, header, err := r.FormFile("file") if err != nil {