From 3f787ad34982dc283293ebcee5fe01a4a65244e2 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 26 Jan 2020 13:13:56 +0100 Subject: [PATCH] subdomain@ --- api/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)