HTTPSWWWRedirect redirects http requests to https www. For example, http://labstack.com will be redirect to https://www.labstack.com. Usage `Echo#Pre(HTTPSWWWRedirect())`
()
| 64 | // |
| 65 | // Usage `Echo#Pre(HTTPSWWWRedirect())` |
| 66 | func HTTPSWWWRedirect() echo.MiddlewareFunc { |
| 67 | return HTTPSWWWRedirectWithConfig(RedirectHTTPSWWWConfig) |
| 68 | } |
| 69 | |
| 70 | // HTTPSWWWRedirectWithConfig returns a HTTPS WWW redirect middleware with config or panics on invalid configuration. |
| 71 | func HTTPSWWWRedirectWithConfig(config RedirectConfig) echo.MiddlewareFunc { |
nothing calls this directly
no test coverage detected
searching dependent graphs…