소스 검색

更新 gateway 中的路由

reghao 1 년 전
부모
커밋
848366377b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      gateway/src/main/resources/application.yml

+ 2 - 2
gateway/src/main/resources/application.yml

@@ -70,13 +70,13 @@ spring:
         - id: geo-router
           uri: lb://content-service
           predicates:
-            - Path=/api/map/**
+            - Path=/api/geo/**
           filters:
             - StripPrefix=0
         - id: im-router
           uri: lb://content-service
           predicates:
-            - Path=/api/im/**
+            - Path=/api/chat/**
           filters:
             - StripPrefix=0
         ###############################################################################