Explorar el Código

update application.yml

reghao hace 3 meses
padre
commit
ed33e99ab9
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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: