Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,4 @@ public ResponseEntity<?> getServiceCodeList() {
public ResponseEntity<?> getRequestCodeList(@RequestBody CareRequestDto.GetRequestCodeList dto) {
return ResponseEntity.ok().body(careService.getRequestCodeList(dto));
}

@GetMapping("/healthcheck")
public String healthcheck(){ //https 인증 확인용
return "OK";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import jakarta.servlet.http.HttpServletResponse;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

Expand All @@ -27,6 +28,15 @@ public class LoginController {

private final LoginServiceImpl loginService;

/**
* https 인증 확인용
* @return String
*/
@GetMapping("/healthcheck")
public ResponseEntity<Void> healthcheck(){
return new ResponseEntity<>(HttpStatus.OK);
}

/**
* 엑세스 토큰 재발급
*/
Expand Down
Loading