This commit is contained in:
administrator
2020-05-22 14:10:21 +08:00
parent ae1887486c
commit 404b98bfc5
7 changed files with 108 additions and 128 deletions

View File

@@ -1,13 +0,0 @@
spring:
cloud:
gateway:
routes:
- id: authRoute
uri: lb://ruoyi-auth
order: 10000
predicates:
- Path=/auth/**
filters:
- StripPrefix=1
debug: true

View File

@@ -22,4 +22,12 @@ spring:
file-extension: yml
# 共享配置
shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
gateway:
routes:
- id: authRoute
uri: lb://ruoyi-auth
order: 10000
predicates:
- Path=/auth/**
filters:
- StripPrefix=1