We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50e13e commit 35f9303Copy full SHA for 35f9303
1 file changed
router.go
@@ -156,7 +156,7 @@ func (ps Params) ByName(name string) string {
156
// Path auto-correction, including trailing slashes, is enabled by default.
157
func NewRouter(server *HttpServer) *router {
158
return &router{
159
- RedirectTrailingSlash: true,
+ RedirectTrailingSlash: false,
160
RedirectFixedPath: true,
161
HandleOPTIONS: true,
162
allRouterExpress: make(map[string]struct{}),
0 commit comments