diff --git a/src/components/pages/teacherPage/auth/signIn/index.jsx b/src/components/pages/teacherPage/auth/signIn/index.jsx index df28c41..3a6ec15 100644 --- a/src/components/pages/teacherPage/auth/signIn/index.jsx +++ b/src/components/pages/teacherPage/auth/signIn/index.jsx @@ -39,7 +39,7 @@ const TeacherSignIn = () => { const submit = () => { if (!Object.values(data).includes("")) { axios({ - url: BaseUrl + "/auth/login", + url: BaseUrl + "/auth/login/user", method: "post", data: { email: data.email, diff --git a/src/components/pages/teacherPage/auth/signUp/index.jsx b/src/components/pages/teacherPage/auth/signUp/index.jsx index ede7b59..948a226 100644 --- a/src/components/pages/teacherPage/auth/signUp/index.jsx +++ b/src/components/pages/teacherPage/auth/signUp/index.jsx @@ -97,7 +97,7 @@ const TeacherSignUp = () => { state: "success", message: "계정이 성공적으로 생성되었습니다.", }).then(() => { - window.location.href = "/student/login"; + window.location.href = "/teacher/login"; }); }) .catch(() => {