yassine 1 year ago
parent
commit
bced077701
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      api-gateway.yml

+ 2
- 2
api-gateway.yml View File

@@ -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.