nit: fix comment to make correct

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2023-01-09 19:28:04 +01:00
parent a3230fbc72
commit a1f848d423
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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 {