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:'',
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)
})