From 1d24701dfd167fd224c473b8f3510d7f4e324955 Mon Sep 17 00:00:00 2001 From: Richard Bowman Date: Thu, 2 Nov 2023 21:33:42 +0000 Subject: [PATCH] Fix shutdown/restart buttons --- .../tabContentComponents/aboutComponents/statusPane.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue index 269c5d21..1ec9103b 100644 --- a/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue +++ b/webapp/src/components/tabContentComponents/aboutComponents/statusPane.vue @@ -124,7 +124,7 @@ export default { () => { this.$store.commit("resetState"); // Post and silence errors - axios.post(this.baseUri + 'shutdown').catch(() => {}); + axios.post(this.baseUri + 'system_control/shutdown').catch(() => {}); }, () => {} ); @@ -134,7 +134,7 @@ export default { () => { this.$store.commit("resetState"); // Post and silence errors - axios.post(this.baseUri + 'restart').catch(() => {}); + axios.post(this.baseUri + 'system_control/restart').catch(() => {}); }, () => {} );