Browse Source

update application.yml

reghao 3 months ago
parent
commit
ed33e99ab9
1 changed files with 6 additions and 0 deletions
  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: