Fix shutdown/restart buttons
This commit is contained in:
parent
65f467af64
commit
1d24701dfd
1 changed files with 2 additions and 2 deletions
|
|
@ -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(() => {});
|
||||||
},
|
},
|
||||||
() => {}
|
() => {}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue