Skip to content

Commit

Permalink
Merge pull request #87 from jumpserver/pr@dev@feat_add_health_check_api
Browse files Browse the repository at this point in the history
feat: add health check api
  • Loading branch information
Aaron3S authored Feb 19, 2025
2 parents 2be46fd + 1267fb2 commit e0dacf3
Showing 1 changed file with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package org.jumpserver.chen.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/healthy")
public class HealthCheckController {

@GetMapping("")
public String healthCheck() {
return "ok";
}
}

0 comments on commit e0dacf3

Please sign in to comment.