Skip to content

Commit

Permalink
Deploy: 프론트 배포주소 변경에 따른 상수화값 변경 (#157)
Browse files Browse the repository at this point in the history
* deploy: 프론트 배포주소 변경에 따른 서버 변경

* test: 테스트 mock값 변경
  • Loading branch information
GitJIHO authored Nov 4, 2024
1 parent 41e0a54 commit ddcf568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class KakaoApiService {
private static final String KAKAO_AUTH_BASE_URL = "https://kauth.kakao.com/oauth";
private static final String KAKAO_API_BASE_URL = "https://kapi.kakao.com/v2/user";
private static final String LOCALHOST_URL = "localhost:5173";
private static final String FRONT_URL = "sinitto.s3-website.ap-northeast-2.amazonaws.com";
private static final String FRONT_URL = "dc9u22hnkwb24.cloudfront.net";

private final RestTemplate restTemplate;
private final KakaoProperties kakaoProperties;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void getAuthorizationUrlTestWithDevUri() {
@DisplayName("getAuthorizationUrl 메소드 테스트 - 배포 uri 포홤 시")
void getAuthorizationUrlTestWithAwsUri() {
//given
when(httpServletRequest.getHeader("Referer")).thenReturn("http://sinitto.s3-website.ap-northeast-2.amazonaws.com");
when(httpServletRequest.getHeader("Referer")).thenReturn("https://dc9u22hnkwb24.cloudfront.net");
when(kakaoProperties.redirectUri()).thenReturn(redirectUri);
when(kakaoProperties.clientId()).thenReturn(clientId);

Expand Down

0 comments on commit ddcf568

Please sign in to comment.