From 66c51f83912b171f3b9002c7775d880250c269a6 Mon Sep 17 00:00:00 2001 From: Joe Ardent Date: Wed, 27 Mar 2024 21:29:37 -0700 Subject: [PATCH] display the hitcount in the example pages --- index.html | 2 +- user/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 721e54a..e328fe7 100644 --- a/index.html +++ b/index.html @@ -15,7 +15,7 @@ fetch('http://localhost:5000/hits/index.html').then((resp) => { return resp.text(); }).then((data) => { - console.log(data); + hits.innerHTML = data; }); diff --git a/user/index.html b/user/index.html index c8f4c46..b1efa83 100644 --- a/user/index.html +++ b/user/index.html @@ -15,7 +15,7 @@ fetch('http://localhost:5000/hits/user').then((resp) => { return resp.text(); }).then((data) => { - console.log(data); + hits.innerHTML = data; });