瀏覽代碼

gateway fix

yassine 2 年之前
父節點
當前提交
780f34446e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      api-gateway.yml

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

9
     gateway:
9
     gateway:
10
       routes:
10
       routes:
11
         - id: customer
11
         - id: customer
12
-          uri: lb://customer
12
+          uri: http://localhost:8081
13
           predicates:
13
           predicates:
14
             - Path=/customer/**
14
             - Path=/customer/**
15
           filters:
15
           filters:
16
             - StripPrefix=1
16
             - StripPrefix=1
17
 
17
 
18
         - id: account
18
         - id: account
19
-          uri: lb://account
19
+          uri: http://localhost:8082
20
           predicates:
20
           predicates:
21
             - Path=/account/**
21
             - Path=/account/**
22
           filters:
22
           filters:

Powered by TurnKey Linux.