Skip to content

Commit a5b8107

Browse files
skarmvishr
authored andcommitted
Fix type redirect.md (#739)
1 parent 3018161 commit a5b8107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/content/middleware/redirect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For example, http://www.labstack.com will be redirect to https://labstack.com.
4040

4141
```go
4242
e := echo.New()
43-
e.Pre(HTTPSNonWWWRedirect())
43+
e.Pre(middleware.HTTPSNonWWWRedirect())
4444
```
4545

4646
## WWWRedirect Middleware

0 commit comments

Comments
 (0)