Skip to content

Commit

Permalink
hotfix: server address 외부 접속 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
yo0oni committed Jan 21, 2024
1 parent a17e68b commit d036801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,11 @@ public class MemberController {

private final MemberService memberService;

/**
* test API
*/
@GetMapping("/test")
public ResponseEntity<String> privateEndpoint() {
// System.out.println("이메일 출력 = " + customUserDetails.getUsername());
// String member = customUserDetails.getUsername();
return ResponseEntity.ok("hi");
public String testEndpoint() {
return "Test endpoint response";
}



/**
* 로그인 API
*/
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
server:
address: 0.0.0.0
port: 5000

spring:
Expand Down

0 comments on commit d036801

Please sign in to comment.