diff --git a/dubhe-server/yaml/gateway.yaml b/dubhe-server/yaml/gateway.yaml index e52eced..16924b0 100644 --- a/dubhe-server/yaml/gateway.yaml +++ b/dubhe-server/yaml/gateway.yaml @@ -138,5 +138,19 @@ spring: uri: lb://dubhe-tadl predicates: - Path=/api/v1/tadl/** + filters: + - StripPrefix=3 + # 路由至dubhe-terminal 天枢专业版终端 + - id: dubhe-terminal + uri: lb://dubhe-terminal + predicates: + - Path=/api/v1/terminal/** + filters: + - StripPrefix=3 + # 路由至dubhe-inference + - id: inference-route + uri: lb://dubhe-inference + predicates: + - Path=/api/v1/inference/** filters: - StripPrefix=3 \ No newline at end of file