@@ 283,9 283,9 @@ func (s *Server) WithDefaultMiddleware() *Server {
if s.Session == nil {
panic(fmt.Errorf("You must call Initialize before WithDefaultMiddleware"))
}
- s.e.Pre(middleware.RemoveTrailingSlashWithConfig(middleware.TrailingSlashConfig{
- RedirectCode: http.StatusMovedPermanently,
- }))
+ //s.e.Pre(middleware.RemoveTrailingSlashWithConfig(middleware.TrailingSlashConfig{
+ // RedirectCode: http.StatusMovedPermanently,
+ //}))
// Set custom context
s.e.Use(func(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {