Browse Source

修复配置文件

zhuoning 4 years ago
parent
commit
2bbd4d22b0
1 changed files with 15 additions and 15 deletions
  1. 15 15
      huimv-ql-farm/huimv-ql-gateway/src/main/resources/application.yml

+ 15 - 15
huimv-ql-farm/huimv-ql-gateway/src/main/resources/application.yml

@@ -17,23 +17,23 @@ spring:
           filters:
             - StripPrefix=1
         - id: video_route
-            uri: http://192.168.1.53:8100               #匹配后提供的路由地址
-            predicates:
-              - Path=/video/**
-            filters:
-              - StripPrefix=1
+          uri: http://192.168.1.53:8100               #匹配后提供的路由地址
+          predicates:
+            - Path=/video/**
+          filters:
+            - StripPrefix=1
         - id: production_route
-            uri: http://192.168.1.53:8085               #匹配后提供的路由地址
-            predicates:
-              - Path=/production/**
-            filters:
-              - StripPrefix=1
+          uri: http://192.168.1.53:8085               #匹配后提供的路由地址
+          predicates:
+            - Path=/production/**
+          filters:
+            - StripPrefix=1
         - id: security_route
-            uri: http://192.168.1.53:8095           #匹配后提供的路由地址
-            predicates:
-              - Path=/security/**
-            filters:
-              - StripPrefix=1
+          uri: http://192.168.1.53:8095           #匹配后提供的路由地址
+          predicates:
+            - Path=/security/**
+          filters:
+            - StripPrefix=1
 logging:
   level:
     org.springframework.cloud.gateway: debug  # Gateway调试模式