[Dev Log] 건우/10.27
Open
DevLog
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
> ### 오늘은 어떻게 프로젝트에 기여했나요?
> 랜딩페이지에서 로그인 로그아웃 회원가입 구현을 완료 하였습니다 .
> ### 오늘의 프로젝트에서 힘든 점은 무엇인가요?
> cookie가 전달이 잘 되지 않았지만
>
```js
const handleLogout = () => {
axios
.post('https://localhost:4000/logout',
{},
{ withCredentials: true })
.then(() => {
setUserinfo(null);
setIsLogin(false);
history.push('/');
});
};
```
이렇게 withCredentials : true 값을 보내주기 전에 {} 빈객체 형식으로 axios 요청을 보내주어야만 했습니다 .
> ### 내일은 프로젝트에 기여하기 위해 무엇을 해야 하나요?
> * [ ] 소셜 로그인 구현하기
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.