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 @@ -139,4 +139,18 @@ spring: 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