Pārlūkot izejas kodu

更新 gateway 中的路由

reghao 1 gadu atpakaļ
vecāks
revīzija
848366377b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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
         ###############################################################################