yassine 1年前
父节点
当前提交
bced077701
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      api-gateway.yml

+ 2
- 2
api-gateway.yml 查看文件

@@ -9,11 +9,11 @@ spring:
9 9
     gateway:
10 10
       routes:
11 11
         - id: account
12
-          uri: http://localhost:8082/
12
+          uri: lb://account
13 13
           predicates:
14 14
             - Path=/account/**
15 15
         - id: customer
16
-          uri: http://localhost:8081/
16
+          uri: lb://customer
17 17
           predicates:
18 18
             - Path=/customer/**
19 19
 

Powered by TurnKey Linux.