【代码优化】全局:去除 application.yaml 相关配置文件的冗余

pull/126/MERGE
YunaiV 2024-07-20 16:25:44 +08:00
parent 43363c1167
commit d78d15215a
1 changed files with 0 additions and 7 deletions

View File

@ -130,15 +130,8 @@ logging:
yudao:
env: # 多环境的配置项
tag: ${HOSTNAME}
captcha:
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试
security:
mock-enable: true
xss:
enable: false
exclude-urls: # 如下两个 url仅仅是为了演示去掉配置也没关系
- ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
access-log: # 访问日志的配置项
enable: false
demo: false # 关闭演示模式