1
0
mirror of https://github.com/labstack/echo.git synced 2025-06-15 00:14:57 +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 ```go
e := echo.New() e := echo.New()
e.Pre(HTTPSNonWWWRedirect()) e.Pre(middleware.HTTPSNonWWWRedirect())
``` ```
## WWWRedirect Middleware ## WWWRedirect Middleware