优化kcp网络库

This commit is contained in:
flswld committed 2024-07-17 15:19:46 +08:00
1 parent cc056b2d2c
commit 669a524153
19 files changed
+7283 -120

No files matched your search

+1 -1
View File
@@ -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 {