yassine 10 ヶ月 前
コミット
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.