Browse Source

优化feign请求转发配置

woody 5 tháng trước cách đây
mục cha
commit
e711469677
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/main/resources/application.yml

+ 3 - 0
src/main/resources/application.yml

@@ -11,6 +11,9 @@ feign:
       default:
         readTimeout: 30000
         connectTimeout: 5000
+  forwards:
+    - source: '*'
+      prefixed: true
 
 spring:
   main: