general settings and camera settings as http requests

This commit is contained in:
ori agranat
2019-11-09 19:52:33 +02:00
parent 130cc394ee
commit 1198e2cf99
9 changed files with 153 additions and 74 deletions

View File

@@ -29,7 +29,12 @@
},
methods: {
sendGeneralSettings() {
this.handleInput('generalSettings', this.settings);
// this.handleInput('generalSettings', this.settings);
this.axios.post("http://" + this.$address + "/api/settings/general", this.settings).then(
function (response) {
console.log(response);
}
)
}
},
computed: {