feat(gateway): 添加开发环境网关路由配置

- 配置了服务发现定位器启用- 添加了指向wol-auth服务的路由
- 设置了路径匹配规则为/auth/**
This commit is contained in:
cuijiawang 2025-10-23 09:44:04 +08:00
parent f24137eb8f
commit 63dc394c54

View File

@ -0,0 +1,11 @@
spring:
cloud:
gateway:
discovery:
locator:
enabled: true
routes:
- id: wol-auth
uri: lb://wol-auth
predicates:
- Path=/auth/**