From 4978ab23f6b063cfbbb1a0296ee6ae0c3c3cc0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Tue, 11 Mar 2025 18:50:16 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E4=BC=98=E5=8C=96=20`applicat?= =?UTF-8?q?ion.yml`=20=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=A0=BC=E5=BC=8F=E5=B9=B6=E5=90=AF=E7=94=A8=20`openf?= =?UTF-8?q?eign.okhttp`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 简化 `nacos`、`sentinel` 配置项的格式 - 启用 `openfeign.okhttp` 功能 - 删除多余的换行符,提升可读性 --- pigx-boot/src/main/resources/application.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pigx-boot/src/main/resources/application.yml b/pigx-boot/src/main/resources/application.yml index 1a3ddb284..770d47059 100644 --- a/pigx-boot/src/main/resources/application.yml +++ b/pigx-boot/src/main/resources/application.yml @@ -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