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:
|
config:
|
||||||
activate:
|
activate:
|
||||||
on-profile: dev
|
on-profile: dev
|
||||||
|
# 开启 SpringDoc 接口文档
|
||||||
springdoc:
|
springdoc:
|
||||||
api-docs:
|
api-docs:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
# /env 端点显示属性值
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
env:
|
||||||
|
show-values: when_authorized
|
||||||
|
|
||||||
--- #------------------- test 特定配置--------------------------
|
--- #------------------- test 特定配置--------------------------
|
||||||
spring:
|
spring:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user