fix 关闭actuator监控
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user