fix 修复 sentinel 控制台未适配 springboot 2.6 新路由策略导致无法登录问题
parent
a1506f0504
commit
5335ced979
|
|
@ -88,9 +88,6 @@ spring:
|
||||||
cloud:
|
cloud:
|
||||||
# sentinel 配置
|
# sentinel 配置
|
||||||
sentinel:
|
sentinel:
|
||||||
filter:
|
|
||||||
# sentinel 在 springboot 2.6.x 不兼容问题的处理
|
|
||||||
enabled: false
|
|
||||||
# 取消控制台懒加载
|
# 取消控制台懒加载
|
||||||
eager: true
|
eager: true
|
||||||
transport:
|
transport:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
spring:
|
||||||
|
mvc:
|
||||||
|
pathmatch:
|
||||||
|
# 修复 sentinel 控制台未适配 springboot 2.6 新路由方式
|
||||||
|
matching-strategy: ANT_PATH_MATCHER
|
||||||
|
|
||||||
server:
|
server:
|
||||||
servlet:
|
servlet:
|
||||||
encoding:
|
encoding:
|
||||||
|
|
|
||||||
|
|
@ -32,5 +32,4 @@ spring:
|
||||||
config:
|
config:
|
||||||
import:
|
import:
|
||||||
- optional:nacos:application-common.yml
|
- optional:nacos:application-common.yml
|
||||||
- optional:nacos:datasource.yml
|
|
||||||
- optional:nacos:${spring.application.name}.yml
|
- optional:nacos:${spring.application.name}.yml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue