subdomain@

This commit is contained in:
Daniel 2020-01-26 13:13:56 +01:00
parent 2eb425199e
commit 3f787ad349

View file

@ -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)