proper slash handling in button.js

This commit is contained in:
ducoterra
2020-04-25 17:07:45 -04:00
parent 7da888aa09
commit 54c6336e22

View File

@@ -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',