mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
Updated docs, changes to static middleware config
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
type (
|
||||
// TrailingSlashConfig defines the config for TrailingSlash middleware.
|
||||
TrailingSlashConfig struct {
|
||||
// RedirectCode is the status code used when redirecting the request.
|
||||
// Status code to be used when redirecting the request.
|
||||
// Optional, but when provided the request is redirected using this code.
|
||||
RedirectCode int
|
||||
}
|
||||
|
Reference in New Issue
Block a user