Browse Source

更新 gateway 中的路由

reghao 1 năm trước cách đây
mục cha
commit
848366377b
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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
         ###############################################################################