diff --git a/pig-register/src/main/java/com/alibaba/nacos/console/controller/ServerStateController.java b/pig-register/src/main/java/com/alibaba/nacos/console/controller/ServerStateController.java index 1bceefa5..8677971c 100644 --- a/pig-register/src/main/java/com/alibaba/nacos/console/controller/ServerStateController.java +++ b/pig-register/src/main/java/com/alibaba/nacos/console/controller/ServerStateController.java @@ -59,8 +59,7 @@ public class ServerStateController { @SneakyThrows @GetMapping("/announcement") public RestResult getAnnouncement() { - ClassPathResource resource = new ClassPathResource(ANNOUNCEMENT_FILE); - return RestResultUtils.success(FileUtil.readString(resource.getFile(), Charset.defaultCharset())); + return RestResultUtils.success(); } }