This commit is contained in:
laodaming 2023-10-20 15:15:27 +08:00
parent d197771eb3
commit 28ad9528d2

View File

@ -33,7 +33,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Handler: CloseWebsocketHandler(serverCtx), Handler: CloseWebsocketHandler(serverCtx),
}, },
{ {
Method: http.MethodPost, Method: http.MethodGet,
Path: "/api/websocket/get_stat", Path: "/api/websocket/get_stat",
Handler: GetStatHandler(serverCtx), Handler: GetStatHandler(serverCtx),
}, },