Kaynağa Gözat

更新 gateway 中的路由

reghao 1 yıl önce
ebeveyn
işleme
848366377b
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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
         ###############################################################################