Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/features/login/model/LoginApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const kakaoLogin = async (
kakaoAccessToken: string
): Promise<KakaoLoginResponse> => {
const response = (await api.post(
"/v2/app/oauth/kakao/login",
"/oauth/kakao/login",
{
kakaoAccessToken,
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/api/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as SecureStore from "expo-secure-store";
const SERVER_URI = process.env.SERVER_URI;

export const api = axios.create({
baseURL: SERVER_URI.replace(/\/$/, ""),
baseURL: `${SERVER_URI.replace(/\/$/, "")}/v1`,
headers: {
"Content-Type": "application/json",
},
Expand Down