diff --git a/.env.development b/.env.development index 2c96d85..28a0774 100644 --- a/.env.development +++ b/.env.development @@ -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 diff --git a/.env.localhost b/.env.localhost index a7ceb68..8bee910 100644 --- a/.env.localhost +++ b/.env.localhost @@ -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 diff --git a/src/components/Login.tsx b/src/components/Login.tsx index 6c60b99..af2c3fd 100644 --- a/src/components/Login.tsx +++ b/src/components/Login.tsx @@ -79,14 +79,14 @@ export default function Login() { url = '/api/partner' } - // const { data } = await axiosInstance('').post(`${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(`${url}`, { loginId: account.loginId, pwd: account.pwd, }) + // const { data } = await axiosInstance(`${process.env.NEXT_PUBLIC_QSP_API_URL}`).post(`/api/user/login`, { + // loginId: account.loginId, + // pwd: account.pwd, + // }) return data },