diff --git a/transport/http/handler.go b/transport/http/handler.go index 6bc4265..55648a0 100644 --- a/transport/http/handler.go +++ b/transport/http/handler.go @@ -47,8 +47,7 @@ func (s *Server) handleVersion() gin.HandlerFunc { } } -func (s *Server) handleSwagger() gin.HandlerFunc { - docs.SwaggerInfo.Host = s.addr +func (Server) handleSwagger() gin.HandlerFunc { docs.SwaggerInfo.BasePath = "/" url := ginSwagger.URL("/swagger/doc.json")