优化kcp网络库
This commit is contained in:
1 parent
cc056b2d2c
commit
669a524153
19 files changed
+7283
-120
No files matched your search
@@ -162,7 +162,7 @@ func (c *Controller) registerRouter() {
|
||||
engine.StaticFS("/pictures", http.Dir("./static/geetest/pictures"))
|
||||
}
|
||||
engine.POST("/gate/token/verify", c.gateTokenVerify)
|
||||
port := config.GetConfig().HttpPort
|
||||
port := config.GetConfig().Hk4e.DispatchHttpPort
|
||||
addr := ":" + strconv.Itoa(int(port))
|
||||
err := engine.Run(addr)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user