[htdocs] Select outputs with /api/outputs/set endpoint

This commit is contained in:
chme 2018-02-10 09:21:45 +01:00
parent 1212723072
commit bd5bf56245

View File

@ -80,7 +80,7 @@ var app = new Vue({
}
}
axios.post('/api/select-outputs', { outputs: selected_outputs }).then(response => {
axios.put('/api/outputs/set', { outputs: selected_outputs }).then(response => {
if (!this.config.websocket_port) {
this.loadOutputs();
}