From 62a521388d5ce4e9f5b31cc95cd0014890575443 Mon Sep 17 00:00:00 2001 From: ivmiku <124345843+ivmiku@users.noreply.github.com> Date: Sat, 14 Sep 2024 13:57:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E7=BD=91=E5=85=B3?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gateway-8133/src/main/resources/application-dep.properties | 4 ++++ gateway-8133/src/main/resources/application-dev.properties | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gateway-8133/src/main/resources/application-dep.properties b/gateway-8133/src/main/resources/application-dep.properties index ef52c69..b2a0842 100644 --- a/gateway-8133/src/main/resources/application-dep.properties +++ b/gateway-8133/src/main/resources/application-dep.properties @@ -26,3 +26,7 @@ spring.cloud.gateway.routes[2].filters[0]=StripPrefix=1 spring.cloud.gateway.routes[3].id=websocket spring.cloud.gateway.routes[3].uri=lb:ws://user spring.cloud.gateway.routes[3].predicates[0]=Path=/chat/** + +spring.cloud.gateway.routes[4].id=search +spring.cloud.gateway.routes[4].uri=lb:ws://community +spring.cloud.gateway.routes[4].predicates[0]=Path=/search/** \ No newline at end of file diff --git a/gateway-8133/src/main/resources/application-dev.properties b/gateway-8133/src/main/resources/application-dev.properties index c4ffc74..6edb162 100644 --- a/gateway-8133/src/main/resources/application-dev.properties +++ b/gateway-8133/src/main/resources/application-dev.properties @@ -24,4 +24,8 @@ spring.cloud.gateway.routes[2].filters[0]=StripPrefix=1 spring.cloud.gateway.routes[3].id=websocket spring.cloud.gateway.routes[3].uri=lb:ws://user -spring.cloud.gateway.routes[3].predicates[0]=Path=/chat/** \ No newline at end of file +spring.cloud.gateway.routes[3].predicates[0]=Path=/chat/** + +spring.cloud.gateway.routes[4].id=search +spring.cloud.gateway.routes[4].uri=lb:ws://community +spring.cloud.gateway.routes[4].predicates[0]=Path=/search/** \ No newline at end of file