인프런 커뮤니티 질문&답변
DB Tables 삭제 후 401 Error
작성
·
293
0
DB 삭제하고 다시 만들었는데 로그인 전에 계속 같은 401 Error가 나와서 원인을 모르겠습니다.
GET http://localhost:3065/api/user/ 401 (Unauthorized)
withCredentials: true 설정도 했습니다.
function logOutAPI() {
return axios.post('/user/logout', {}, {
withCredentials: true,
});
}






