diff options
Diffstat (limited to 'echo/echo_default.go')
-rw-r--r-- | echo/echo_default.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/echo/echo_default.go b/echo/echo_default.go index 067e52f..916cbd0 100644 --- a/echo/echo_default.go +++ b/echo/echo_default.go | |||
@@ -306,7 +306,7 @@ func (w *EchoWrapper) configureRedirects(c *EchoConfig, bindings *AddressPortCon | |||
306 | })) | 306 | })) |
307 | 307 | ||
308 | if c.RedirectToWWW { | 308 | if c.RedirectToWWW { |
309 | w.Use(middleware.WWWRedirectWithConfig(middleware.RedirectConfig{ | 309 | w.Use(glmw.WWWRedirectWithConfig(glmw.WWWRedirectConfig{ |
310 | Skipper: metricsSkipper, | 310 | Skipper: metricsSkipper, |
311 | })) | 311 | })) |
312 | } | 312 | } |