diff --git a/api/server.go b/api/server.go index 67cbc54..29b1dc8 100644 --- a/api/server.go +++ b/api/server.go @@ -72,7 +72,7 @@ func (s *Server) Init() { e.GET("/docs", func(c echo.Context) error { return c.Redirect(http.StatusMovedPermanently, "/swagger/index.html") }) - e.GET("/swagger/*", echoSwagger.WrapHandler) + e.GET("/docs/*", echoSwagger.WrapHandler) e.GET("/channels", s.getAllChannels) e.GET("/channel/:channel/user/:username/range", s.getUserLogsRangeByName)