change loginform port
This commit is contained in:
@@ -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)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user