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:
parent
dc92c26084
commit
6009a3d08a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user