mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-09 02:12:26 +08:00
完善重连流程
This commit is contained in:
@@ -139,6 +139,7 @@ func (c *Controller) registerRouter() {
|
||||
}
|
||||
engine.Use(c.authorize())
|
||||
engine.POST("/gate/token/verify", c.gateTokenVerify)
|
||||
engine.POST("/gate/token/reset", c.gateTokenReset)
|
||||
port := config.CONF.HttpPort
|
||||
addr := ":" + strconv.Itoa(int(port))
|
||||
err := engine.Run(addr)
|
||||
|
||||
Reference in New Issue
Block a user