1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-23 21:29:26 +02:00

Fix type redirect.md (#739)

This commit is contained in:
Eric 2016-11-20 20:24:36 +05:00 committed by Vishal Rana
parent 30181613bd
commit a5b81074e7

View File

@ -40,7 +40,7 @@ For example, http://www.labstack.com will be redirect to https://labstack.com.
```go
e := echo.New()
e.Pre(HTTPSNonWWWRedirect())
e.Pre(middleware.HTTPSNonWWWRedirect())
```
## WWWRedirect Middleware