Ver código fonte

升级文档说明提交

jingyuanchao 1 ano atrás
pai
commit
99360b93a8
1 arquivos alterados com 11 adições e 0 exclusões
  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: