Skip to content

Commit

Permalink
fix: api url 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
GimHaLim committed Jun 17, 2024
1 parent 924446f commit adabef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/component/myPage/api/kakaoApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const getAccessToken = async (authCode) => {

export const getMemberWithAccessToken = async (accessToken) => {
try {
const res = await axios.get(`http://www.plick.shop/v1/user/kakao?accessToken=${accessToken}`);
const res = await axios.get(`http://plick.shop/v1/user/kakao?accessToken=${accessToken}`);
return res.data;
} catch (error) {
console.error('Error fetching member information:', error);
Expand Down
2 changes: 1 addition & 1 deletion src/component/myPage/api/userApi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from "axios";

const API_SERVER_HOST = 'http://www.plick.shop';
const API_SERVER_HOST = 'http://plick.shop';
//const API_SERVER_HOST = 'http://localhost:8080';


Expand Down

0 comments on commit adabef1

Please sign in to comment.