diff --git a/main.go b/main.go index 7c0f2f7..89268c9 100644 --- a/main.go +++ b/main.go @@ -186,7 +186,6 @@ func fetchInfoOneRESTHandler(w http.ResponseWriter, r *http.Request) { } if r.Method == "POST" { - log.Printf("Updating download") type updateRequest struct { Action string `json:"action"` diff --git a/web/index.html b/web/index.html index 660eb63..fed12e3 100644 --- a/web/index.html +++ b/web/index.html @@ -65,7 +65,7 @@ }); }, fetch_data() { - fetch('/rest/fetch/info') + fetch('/rest/fetch') .then(response => response.json()) .then(info => { // will be null if no downloads yet