From 123bb92fed18dd8759ab2a9e78beab3ea4b4b3ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Thu, 28 Mar 2024 15:06:27 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0easy-retry-server=E6=97=A0=E6=B3=95=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=96=B9=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-visual/ruoyi-easyretry-server/src/main/resources/application.yml b/ruoyi-visual/ruoyi-easyretry-server/src/main/resources/application.yml index eb268f05..8d6f6dc1 100644 --- a/ruoyi-visual/ruoyi-easyretry-server/src/main/resources/application.yml +++ b/ruoyi-visual/ruoyi-easyretry-server/src/main/resources/application.yml @@ -28,9 +28,6 @@ logging: config: classpath:logback-plus.xml management: - # 解决 er 服务有 context-path 无法监控问题 - server: - port: 8801 endpoints: web: exposure: @@ -51,6 +48,9 @@ spring: # 注册组 group: @nacos.discovery.group@ namespace: ${spring.profiles.active} + metadata: + # 解决 er 服务有 context-path 无法监控问题 + management.context-path: ${server.servlet.context-path}/actuator config: # 配置组 group: @nacos.config.group@