소스 검색

升级文档说明提交

jingyuanchao 1 년 전
부모
커밋
99360b93a8
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      project_data/sql/0.1.1/升级文档.txt

+ 11 - 0
project_data/sql/0.1.1/升级文档.txt

@@ -19,6 +19,17 @@ spring:
             uri: lb:ws://soc-mediator
             predicates:
               - Path=/ws1/**
+  在spring.cloud.gateway节点下增加以下配置:
+        httpclient:
+          websocket:
+            max-frame-payload-length: 5242880
+    例:
+    spring:
+      cloud:
+        gateway:
+          httpclient:
+            websocket:
+              max-frame-payload-length: 5242880
 
 2、nacos gateway配置文件增加-部署中心不校验白名单:
 security: