mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
Fixed basic-auth middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -135,7 +135,7 @@ func WWWRedirectWithConfig(config RedirectConfig) echo.MiddlewareFunc {
|
||||
}
|
||||
}
|
||||
|
||||
// NonWWWRedirect redirects WWW request to non WWW.
|
||||
// NonWWWRedirect redirects WWW requests to non WWW.
|
||||
// For example, http://www.labstack.com will be redirect to http://labstack.com.
|
||||
//
|
||||
// Usage `Echo#Pre(NonWWWRedirect())`
|
||||
|
||||
Reference in New Issue
Block a user