fix 关闭actuator监控

This commit is contained in:
lijiarao
2023-11-16 11:00:08 +08:00
parent 6c9650354b
commit e112f30a1d
2 changed files with 5 additions and 7 deletions
@@ -15,9 +15,8 @@ server:
management:
endpoints:
web:
exposure:
include: metrics,httptrace
#关闭actuator监控
enabled-by-default: false
spring:
servlet:
@@ -341,7 +340,7 @@ knife4j:
#开启增强配置
enable: true
#开启生产环境屏蔽,为true,则knife4j无法访问
production: false
production: true
basic:
enable: false
username: jero