diff --git a/ui/static/ui/button.js b/ui/static/ui/button.js index af40ead..bbfc0e9 100644 --- a/ui/static/ui/button.js +++ b/ui/static/ui/button.js @@ -6,7 +6,7 @@ const count = document.getElementById("COUNT"); button.addEventListener("click", event => { button.disabled = true; button.classList.add("is-loading"); - fetch('/button', { + fetch('/button/', { method: 'POST', headers: { 'Content-Type': 'application/json',