mirror of
https://git.freecumextremist.com/grumbulon/pomme.git
synced 2024-12-22 17:40:43 +00:00
nit: fix comment to make correct
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
a3230fbc72
commit
a1f848d423
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue