瀏覽代碼

swich to beans config

yassine 10 月之前
父節點
當前提交
0ed94b560a
共有 1 個文件被更改,包括 1 次插入11 次删除
  1. 1
    11
      api-gateway.yml

+ 1
- 11
api-gateway.yml 查看文件

@@ -5,20 +5,10 @@ spring:
5 5
   application:
6 6
     name: api-gateway
7 7
 
8
-  cloud:
9
-    gateway:
10
-      routes:
11
-        - id: account
12
-          uri: lb://account
13
-          predicates:
14
-            - Path=/account/**
15
-        - id: customer
16
-          uri: lb://customer
17
-          predicates:
18
-            - Path=/customer/**
19 8
 logging:
20 9
   level:
21 10
     org.springframework.cloud.gateway: DEBUG
11
+
22 12
 management:
23 13
   endpoints:
24 14
     gateway:

Powered by TurnKey Linux.