mirror of
https://github.com/labstack/echo.git
synced 2025-11-06 08:59:21 +02:00
@@ -25,8 +25,7 @@ import (
|
||||
|
||||
func upload(c *echo.Context) error {
|
||||
req := c.Request()
|
||||
|
||||
// req.ParseMultipartForm(16 << 20) // Max memory 16 MiB
|
||||
req.ParseMultipartForm(16 << 20) // Max memory 16 MiB
|
||||
|
||||
// Read form fields
|
||||
name := c.Form("name")
|
||||
|
||||
Reference in New Issue
Block a user