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:
@ -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
|
||||||
|
Reference in New Issue
Block a user