Start of the web frontend and backend for config handling.

This commit is contained in:
2021-09-28 22:09:12 +09:30
parent 7500a30f6b
commit 2aba19770f
5 changed files with 141 additions and 20 deletions

View File

@@ -22,7 +22,7 @@
return {
eta: '', percent: 0.0, state: '??', filename: '', finished: false, log :'',
fetch_data() {
fetch('/fetch/info/{{ .Id }}')
fetch('/rest/fetch/info/{{ .Id }}')
.then(response => response.json())
.then(info => {
this.eta = info.eta;