From a2c65a4b8244a35ee3835a38516fca716e902968 Mon Sep 17 00:00:00 2001 From: gsd Date: Mon, 25 May 2026 11:45:09 +0300 Subject: [PATCH] 404 fix --- .../java/app/controllers/other/PulseController.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/app/controllers/other/PulseController.java b/src/main/java/app/controllers/other/PulseController.java index a7f826b..0443ee0 100644 --- a/src/main/java/app/controllers/other/PulseController.java +++ b/src/main/java/app/controllers/other/PulseController.java @@ -22,7 +22,7 @@ import java.util.HashSet; * контролллер для проверки жива ли эта хуйня и че там по бд */ @RestController -@RequestMapping("/api/pulse") +@RequestMapping("/api") public class PulseController { DBService dbService; @@ -41,7 +41,7 @@ public class PulseController { this.waitAfterNextAspect = waitAfterNextAspect; } - @GetMapping(value = {"/db", "/"}) + @GetMapping(value = {"/pulse/db", "/pulse"}) public ResponseEntity getDBPulse() { return new ResponseEntity(dbService.getDBServerTime(), HttpStatus.OK); } @@ -50,17 +50,17 @@ public class PulseController { * ЕСЛИ 0 ЗНАЧИТ ЗАЕБИСЬ * @return */ - @GetMapping("/db/diff") + @GetMapping("/pulse/db/diff") public ResponseEntity getDiff() { return new ResponseEntity<>(onlineUpdater.getDifferentReplica(), HttpStatus.OK); } - @GetMapping("/services") + @GetMapping("/pulse/services") public ResponseEntity> getServices() { return new ResponseEntity<>(statsService.getServices(), HttpStatus.OK); } - @GetMapping("/ratelimit") + @GetMapping("/pulse/ratelimit") @WaitAfterNext(order = "ratelimitcheck") @CheckWebAccess @CheckPermitionFlag(flag = "z")