From 1d05d20580e92757afeac1e8e44dd4ace41ed321 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 18 May 2022 15:58:32 +0800 Subject: [PATCH] 20220516 --- zq-erp/src/main/java/com/matrix/config/WebSocketConfig.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/config/WebSocketConfig.java b/zq-erp/src/main/java/com/matrix/config/WebSocketConfig.java index 56a21a4..aed2a7d 100644 --- a/zq-erp/src/main/java/com/matrix/config/WebSocketConfig.java +++ b/zq-erp/src/main/java/com/matrix/config/WebSocketConfig.java @@ -39,6 +39,7 @@ LogUtil.info("注册WebSocket处理类"); registry.addHandler(createWebSocketPushHandler(), "/webSocketServer") .addInterceptors(createHhandshakeInterceptor()).setAllowedOrigins("*"); + registry.addHandler(createWebSocketPushHandler(), "/sockjs/webSocketServer") .addInterceptors(createHhandshakeInterceptor()).withSockJS(); -- Gitblit v1.9.1