diff --git a/src/App.vue b/src/App.vue index a36766285ba7818ebd6146b6764ac9ef3a509810..51fe1feb7bc499d95ac7cac084e4a8ebb0b2a78c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,7 +21,7 @@ export default { methods: { getPastValues() { axios - .get('http://127.0.0.1:5000/past-values') + .get('/past-values') .then((response) => { this.npkData = response.data.npkData this.thmData = response.data.thmData diff --git a/src/components/ValueTabs.vue b/src/components/ValueTabs.vue index 229c8170f8b96a1ea8abf82d4bd6b1a993c78b84..302bc4678e85ca41485eecc40abcc2c3317e924e 100644 --- a/src/components/ValueTabs.vue +++ b/src/components/ValueTabs.vue @@ -14,7 +14,7 @@ export default { methods: { getValues() { axios - .get('http://127.0.0.1:5000/values') + .get('/values') .then((response) => { this.values = response.data })