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:
parent
30181613bd
commit
a5b81074e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user