From 28ad9528d2918ba43e47aae3b3a947ba3f0b8094 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 20 Oct 2023 15:15:27 +0800 Subject: [PATCH] fix --- server/websocket/internal/handler/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/websocket/internal/handler/routes.go b/server/websocket/internal/handler/routes.go index 99277e25..5e29f9bb 100644 --- a/server/websocket/internal/handler/routes.go +++ b/server/websocket/internal/handler/routes.go @@ -33,7 +33,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { Handler: CloseWebsocketHandler(serverCtx), }, { - Method: http.MethodPost, + Method: http.MethodGet, Path: "/api/websocket/get_stat", Handler: GetStatHandler(serverCtx), },