From c798e44cb265373281b4c0ea88fa4dab71adb5c3 Mon Sep 17 00:00:00 2001 From: bum12ark Date: Fri, 4 Mar 2022 18:43:53 +0900 Subject: [PATCH] =?UTF-8?q?refactor(customer-vue):=20=EB=A7=A4=EC=9E=A5=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=20url=20=ED=98=95=EC=8B=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- customer-vue/.env | 3 ++- customer-vue/src/api/store.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/customer-vue/.env b/customer-vue/.env index e05beaf..8f9f97c 100644 --- a/customer-vue/.env +++ b/customer-vue/.env @@ -1,3 +1,4 @@ VUE_APP_BASEURL=https://just-pickup.com:8080 VUE_APP_OWNER_SERVICE_BASEURL=https://just-pickup.com:8001 -VUE_APP_CUSTOMER_SERVICE_BASEURL=https://just-pickup.com:8000 \ No newline at end of file +VUE_APP_CUSTOMER_SERVICE_BASEURL=https://just-pickup.com:8000 +VUE_APP_STORE_API_URL=https://just-pickup.com:8000/store-service/api/customer \ No newline at end of file diff --git a/customer-vue/src/api/store.js b/customer-vue/src/api/store.js index c1a8b8b..931515c 100644 --- a/customer-vue/src/api/store.js +++ b/customer-vue/src/api/store.js @@ -10,7 +10,7 @@ export default { page: page } } - return axios.get(process.env.VUE_APP_CUSTOMER_SERVICE_BASEURL+"/store-service/search-store", options); + return axios.get(process.env.VUE_APP_STORE_API_URL + '/store/search', options); }, getCategoryList(){ return axios.get(process.env.VUE_APP_CUSTOMER_SERVICE_BASEURL+'/store-service/category/');