Skip to content

Commit fd68c38

Browse files
authored
Merge pull request #140 from part3-4team-Taskify/feature/Gnb
[Fix] base URL 수정
2 parents 8f1d787 + 42fb2d2 commit fd68c38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const postAuthData = async ({
1414
password: string;
1515
}) => {
1616
const response = await axiosInstance.post<AuthResponse>(
17-
`${TEAM_ID}/auth/login`,
17+
`/${TEAM_ID}/auth/login`,
1818
{
1919
email,
2020
password,

src/api/axiosInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from "axios";
22

33
const axiosInstance = axios.create({
4-
baseURL: process.env.NEXT_PUBLIC_BASE_URL,
4+
baseURL: "https://sp-taskify-api.vercel.app",
55
});
66

77
// 👉 요청 보낼 때마다 토큰 자동 추가

0 commit comments

Comments
 (0)