mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
chore(config): 优化 application.yml 文件中的配置格式并启用 openfeign.okhttp
- 简化 `nacos`、`sentinel` 配置项的格式 - 启用 `openfeign.okhttp` 功能 - 删除多余的换行符,提升可读性
This commit is contained in:
1 parent
5b5aac37d0
commit
4978ab23f6
1 file changed
+5
-6
@@ -16,15 +16,13 @@ spring:
|
||||
max-request-size: 100MB
|
||||
cloud:
|
||||
nacos:
|
||||
config:
|
||||
enabled: false
|
||||
discovery:
|
||||
enabled: false
|
||||
config.enabled: false
|
||||
discovery.enabled: false
|
||||
gateway:
|
||||
enabled: false
|
||||
redis.enabled: false
|
||||
sentinel:
|
||||
enabled: false
|
||||
sentinel.enabled: false
|
||||
openfeign.okhttp.enabled: true
|
||||
freemarker: # freemarker 配置,授权码模式页面渲染使用
|
||||
suffix: .ftl
|
||||
template-loader-path: classpath:/templates/
|
||||
@@ -34,6 +32,7 @@ spring:
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
|
||||
## spring security 对外暴露接口设置
|
||||
security:
|
||||
micro: false
|
||||
|
||||
Reference in new issue
Block a user