diff --git a/main b/main index 5f62909..e92a6a3 100644 Binary files a/main and b/main differ diff --git a/service/main/game_mgr/game_mgr.go b/service/main/game_mgr/game_mgr.go index 6321385..a547ffe 100644 --- a/service/main/game_mgr/game_mgr.go +++ b/service/main/game_mgr/game_mgr.go @@ -9,8 +9,7 @@ import ( ) var APP_TOKEN_MAP = map[string]string{ - "debug": "debug", - "ttaef8d84531c975bb10": "123", + "debug": "default", } type GameMgr struct { diff --git a/service/main/game_mgr/handler_http.go b/service/main/game_mgr/handler_http.go index 79d1bf1..a3ffaa9 100644 --- a/service/main/game_mgr/handler_http.go +++ b/service/main/game_mgr/handler_http.go @@ -14,6 +14,7 @@ import ( func RunHttp() error { r := gin.Default() + r.HEAD("/push/:appId", OnDataPush) r.POST("/push/:appId", OnDataPush) return r.RunTLS(":8898", "tsl/server.pem", "tsl/server.key") }