1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-30 08:46:41 +02:00

Update body-limit.md (#778)

Unbalanced brackets on body-limit middleware custom configuration example
This commit is contained in:
guidola 2016-12-18 20:11:25 +01:00 committed by Vishal Rana
parent dc92c26084
commit 6009a3d08a

View File

@ -28,8 +28,7 @@ e.Use(middleware.BodyLimit("2M"))
```go ```go
e := echo.New() e := echo.New()
e.Use(middleware.BodyLimitWithConfig(middleware.BodyLimitConfig{}, e.Use(middleware.BodyLimitWithConfig(middleware.BodyLimitConfig{}))
}))
``` ```
## Configuration ## Configuration