瀏覽代碼

update application.yml

reghao 3 月之前
父節點
當前提交
ed33e99ab9
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      gateway/src/main/resources/application.yml

+ 6 - 0
gateway/src/main/resources/application.yml

@@ -137,6 +137,12 @@ spring:
             - Path=/api/file/**
           filters:
             - StripPrefix=0
+        - id: file1-router
+          uri: lb://file-service
+          predicates:
+            - Path=/file/**
+          filters:
+            - StripPrefix=0
         - id: disk-router
           uri: lb://file-service
           predicates: