Jelajahi Sumber

代码优化

叶君翔 3 tahun lalu
induk
melakukan
88ea0a5459
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      lb-gateway/src/main/resources/application.yml

+ 2 - 1
lb-gateway/src/main/resources/application.yml

@@ -17,7 +17,8 @@ spring:
           # uri: http://www.baidu.com/
           predicates:
             #匹配所有请求路径以
-            - Path=/api/**
+#            - Path=/api/**
+            - Path=/**
 #            - Header=citycode,0512
           filters:
             - Authorize=true