We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1d787 + 42fb2d2 commit fd68c38Copy full SHA for fd68c38
src/api/auth.ts
@@ -14,7 +14,7 @@ export const postAuthData = async ({
14
password: string;
15
}) => {
16
const response = await axiosInstance.post<AuthResponse>(
17
- `${TEAM_ID}/auth/login`,
+ `/${TEAM_ID}/auth/login`,
18
{
19
email,
20
password,
src/api/axiosInstance.ts
@@ -1,7 +1,7 @@
1
import axios from "axios";
2
3
const axiosInstance = axios.create({
4
- baseURL: process.env.NEXT_PUBLIC_BASE_URL,
+ baseURL: "https://sp-taskify-api.vercel.app",
5
});
6
7
// 👉 요청 보낼 때마다 토큰 자동 추가
0 commit comments