Fix shutdown/restart buttons

This commit is contained in:
Richard Bowman 2023-11-02 21:33:42 +00:00
parent 65f467af64
commit 1d24701dfd

View file

@ -124,7 +124,7 @@ export default {
() => { () => {
this.$store.commit("resetState"); this.$store.commit("resetState");
// Post and silence errors // 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"); this.$store.commit("resetState");
// Post and silence errors // Post and silence errors
axios.post(this.baseUri + 'restart').catch(() => {}); axios.post(this.baseUri + 'system_control/restart').catch(() => {});
}, },
() => {} () => {}
); );