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; });