chore: revert QSP API URL to previous configuration in Login component
This commit is contained in:
parent
479643216c
commit
82cdb2a755
@ -5,8 +5,8 @@ NEXT_PUBLIC_RUN_MODE=development
|
||||
NEXT_PUBLIC_API_URL=http://172.30.1.65:3000
|
||||
|
||||
#qsp 로그인 api
|
||||
# NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
|
||||
NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
|
||||
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||
|
||||
#1:1문의 api
|
||||
NEXT_PUBLIC_INQUIRY_API_URL=http://172.23.4.129:8110
|
||||
|
||||
@ -5,8 +5,8 @@ NEXT_PUBLIC_RUN_MODE=local
|
||||
NEXT_PUBLIC_API_URL=http://172.30.1.65:3000
|
||||
|
||||
#qsp 로그인 api
|
||||
# NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
|
||||
NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||
NEXT_PUBLIC_QSP_API_URL=http://1.248.227.176:8120
|
||||
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
|
||||
|
||||
#1:1문의 api
|
||||
NEXT_PUBLIC_INQUIRY_API_URL=http://172.23.4.129:8110
|
||||
|
||||
@ -79,11 +79,7 @@ export default function Login() {
|
||||
url = '/api/partner'
|
||||
}
|
||||
|
||||
// const { data } = await axiosInstance('').post<LoginData>(`${url}`, {
|
||||
// loginId: account.loginId,
|
||||
// pwd: account.pwd,
|
||||
// })
|
||||
const { data } = await axiosInstance(`${process.env.NEXT_PUBLIC_QSP_API_URL}`).post(`/api/user/login`, {
|
||||
const { data } = await axiosInstance('').post<LoginData>(`${url}`, {
|
||||
loginId: account.loginId,
|
||||
pwd: account.pwd,
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user