diff --git a/broker/http.go b/broker/http.go index 73e2dbc..5d08848 100644 --- a/broker/http.go +++ b/broker/http.go @@ -22,5 +22,5 @@ func InitHTTPMoniter(b *Broker) { c.JSON(200, &resp) }) - router.Run(":8080") + router.Run(":" + b.config.HTTPPort) }