fix 修复 sentinel 控制台未适配 springboot 2.6 新路由策略导致无法登录问题

This commit is contained in:
疯狂的狮子li
2022-08-05 14:29:11 +08:00
parent a1506f0504
commit 5335ced979
3 changed files with 6 additions and 4 deletions

View File

@@ -88,9 +88,6 @@ spring:
cloud:
# sentinel 配置
sentinel:
filter:
# sentinel 在 springboot 2.6.x 不兼容问题的处理
enabled: false
# 取消控制台懒加载
eager: true
transport:

View File

@@ -1,3 +1,9 @@
spring:
mvc:
pathmatch:
# 修复 sentinel 控制台未适配 springboot 2.6 新路由方式
matching-strategy: ANT_PATH_MATCHER
server:
servlet:
encoding: