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 1bceefa5f..8677971c1 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 ResponseEntity> serverState() { @SneakyThrows @GetMapping("/announcement") public RestResult getAnnouncement() { - ClassPathResource resource = new ClassPathResource(ANNOUNCEMENT_FILE); - return RestResultUtils.success(FileUtil.readString(resource.getFile(), Charset.defaultCharset())); + return RestResultUtils.success(); } }