change loginform port

This commit is contained in:
hanwha
2025-07-21 11:53:27 +09:00
parent 734015485b
commit 48744c4774

View File

@@ -10,12 +10,14 @@ const LoginForm = () => {
id:'', id:'',
pw:'' pw:''
}) })
const requestUrl = 'http://localhost:8080/login/oauth-kakao'
const login = () => { const login = () => {
setParams({id, pw}) setParams({id, pw})
axios.post('http://localhost:8080/login/oauth-kakao', params).then((res) => { console.log(id, pw)
console.log(res) axios.post(requestUrl, params).then((res) => {
console.log(res.status) console.log(requestUrl + "===>")
console.log(res.data)
}).catch((e) => { }).catch((e) => {
console.log(e) console.log(e)
}) })