Skip to content

Commit

Permalink
!427 feat: 删除无用的nacos console页面
Browse files Browse the repository at this point in the history
Merge pull request !427 from lengleng/N/A
  • Loading branch information
lltx authored and gitee-org committed Oct 16, 2023
2 parents 901f50e + f5cbb82 commit b365710
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ public ResponseEntity<Map<String, String>> serverState() {
@SneakyThrows
@GetMapping("/announcement")
public RestResult<String> getAnnouncement() {
ClassPathResource resource = new ClassPathResource(ANNOUNCEMENT_FILE);
return RestResultUtils.success(FileUtil.readString(resource.getFile(), Charset.defaultCharset()));
return RestResultUtils.success();
}

}

0 comments on commit b365710

Please sign in to comment.