@@ -88,9 +88,6 @@ spring:
cloud:
# sentinel 配置
sentinel:
- filter:
- # sentinel 在 springboot 2.6.x 不兼容问题的处理
- enabled: false
# 取消控制台懒加载
eager: true
transport:
@@ -1,3 +1,9 @@
+spring:
+ mvc:
+ pathmatch:
+ # 修复 sentinel 控制台未适配 springboot 2.6 新路由方式
+ matching-strategy: ANT_PATH_MATCHER
+
server:
servlet:
encoding:
@@ -32,5 +32,4 @@ spring:
config:
import:
- optional:nacos:application-common.yml
- - optional:nacos:datasource.yml
- optional:nacos:${spring.application.name}.yml