From 48744c4774bb4bede81e581fe4131c211b83edb8 Mon Sep 17 00:00:00 2001 From: hanwha Date: Mon, 21 Jul 2025 11:53:27 +0900 Subject: [PATCH] change loginform port --- src/app/components/LoginForm.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/components/LoginForm.tsx b/src/app/components/LoginForm.tsx index 84ef469..bf1f011 100644 --- a/src/app/components/LoginForm.tsx +++ b/src/app/components/LoginForm.tsx @@ -10,12 +10,14 @@ const LoginForm = () => { id:'', pw:'' }) + const requestUrl = 'http://localhost:8080/login/oauth-kakao' const login = () => { setParams({id, pw}) - axios.post('http://localhost:8080/login/oauth-kakao', params).then((res) => { - console.log(res) - console.log(res.status) + console.log(id, pw) + axios.post(requestUrl, params).then((res) => { + console.log(requestUrl + "===>") + console.log(res.data) }).catch((e) => { console.log(e) })