mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
Update body-limit.md (#778)
Unbalanced brackets on body-limit middleware custom configuration example
This commit is contained in:
parent
dc92c26084
commit
6009a3d08a
@ -28,8 +28,7 @@ e.Use(middleware.BodyLimit("2M"))
|
||||
|
||||
```go
|
||||
e := echo.New()
|
||||
e.Use(middleware.BodyLimitWithConfig(middleware.BodyLimitConfig{},
|
||||
}))
|
||||
e.Use(middleware.BodyLimitWithConfig(middleware.BodyLimitConfig{}))
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user