mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
perf: /env 端点在 dev 环境下显示属性值
This commit is contained in:
parent
8da6f8263c
commit
d63be23aca
@ -259,9 +259,15 @@ spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
# 开启 SpringDoc 接口文档
|
||||
springdoc:
|
||||
api-docs:
|
||||
enabled: true
|
||||
# /env 端点显示属性值
|
||||
management:
|
||||
endpoint:
|
||||
env:
|
||||
show-values: when_authorized
|
||||
|
||||
--- #------------------- test 特定配置--------------------------
|
||||
spring:
|
||||
|
Loading…
x
Reference in New Issue
Block a user