Skip to content

Commit

Permalink
Merge pull request #531 from fine-ants/release
Browse files Browse the repository at this point in the history
Release 0.0.13
  • Loading branch information
yonghwankim-dev authored Dec 9, 2024
2 parents f9ec8c3 + 81e54cc commit a168408
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package co.fineants.api.domain.helath;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import jakarta.annotation.security.PermitAll;

@RestController
public class HealthCheckRestController {
@GetMapping("/health-check")
@PermitAll
public ResponseEntity<Void> healthCheck() {
return ResponseEntity.ok().build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
"/api/auth/refresh/token",
"/api/stocks/search",
"/api/stocks/**",
"/health-check",
"/error"
).permitAll()
.anyRequest().authenticated());
Expand Down

0 comments on commit a168408

Please sign in to comment.