Skip to content

Commit

Permalink
Merge pull request #22 from hw-coconote/feat/HC-160
Browse files Browse the repository at this point in the history
[FIX] HC-160 환경변수 코드 수정
  • Loading branch information
jiho3634 authored Oct 2, 2024
2 parents 7520ef6 + 7760b16 commit 007be27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/OAuth2Success.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export default {
}
// Axios GET 요청 보내기
const response = await axios.get(`${VUE_APP_BASE_URL}/api/v1/member/me`);
const baseUrl = `${process.env.VUE_APP_BASE_URL}`; // process.env로 환경 변수에 접근
console.log(baseUrl);
const response = await axios.get(baseUrl + "/api/v1/member/me");
// 응답 데이터를 memberInfo에 저장
this.memberInfo = response.data;
Expand Down

0 comments on commit 007be27

Please sign in to comment.