display the hitcount in the example pages

This commit is contained in:
Joe Ardent 2024-03-27 21:29:37 -07:00
parent a0574cf066
commit 66c51f8391
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
fetch('http://localhost:5000/hits/index.html').then((resp) => {
return resp.text();
}).then((data) => {
console.log(data);
hits.innerHTML = data;
});

View File

@ -15,7 +15,7 @@
fetch('http://localhost:5000/hits/user').then((resp) => {
return resp.text();
}).then((data) => {
console.log(data);
hits.innerHTML = data;
});