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/');