Browse Source

添加控制台网关

hxl13994548489 1 year ago
parent
commit
de25a2f69f
1 changed files with 6 additions and 0 deletions
  1. 6 0
      gateway/src/main/resources/application-dev.yml

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

@@ -44,3 +44,9 @@ spring:
           uri: http://localhost:8085/
           predicates:
             - Path=/validate/**
+
+        #控制台添加网关
+        - id: console_route
+          uri: http://localhost:8086/
+          predicates:
+            - Path=/console/**