Skip to content

Commit

Permalink
fix : origin cookie 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepdog13 committed Jan 30, 2024
1 parent d033aa6 commit 5c5632e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/src/_reducers/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const asynsLoginFetch = createAsyncThunk(
async (formdata) => {
const resp = await axios.post(
"https://nodestudy-34u2.onrender.com/api/users/login",
formdata
formdata,
{
withCredentials: true,
}
);
return resp.data;
}
Expand Down

0 comments on commit 5c5632e

Please sign in to comment.