diff --git a/src/components/summary.vue b/src/components/summary.vue index 517c76b..7746713 100644 --- a/src/components/summary.vue +++ b/src/components/summary.vue @@ -8,7 +8,7 @@ } }, mounted() { - axios.get('http://localhost:18080/summary').then((response)=>{ + axios.get(import.meta.env.VITE_PRACTICE_TRACKER_API_URL+'summary').then((response)=>{ console.log(response.data); this.categories = response.data })