Skip to content

Commit

Permalink
배포 서버 문제 해결중 (#39)
Browse files Browse the repository at this point in the history
* fix: Swagger의 서버 경로를 상대 경로로 지정

`@OpenAPIDefinition` 을 사용하여 서버 경로를 상대 경로로 지정

* fix: `/`경로 더미 페이지 설정
  • Loading branch information
Enble authored Nov 12, 2024
1 parent 245b139 commit 2330e74
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/java/com/pictalk/global/HealthController.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,12 @@ public CommonResponse<String> health() {
return CommonResponse.onSuccess("성공 응답");
}

/**
* ELB가 go-away하도록 만드는 더미 페이지
*/
@GetMapping("/")
public String index() {
return "Hello, Pictalk!";
}

}

0 comments on commit 2330e74

Please sign in to comment.