From a7f945712029aff2ac1f8f82ce942550c7836c46 Mon Sep 17 00:00:00 2001 From: Mohid Date: Tue, 14 Nov 2023 13:11:39 -0500 Subject: [PATCH] Views should work now --- website/assets/js/main.js | 5 ++--- website/index.html | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/website/assets/js/main.js b/website/assets/js/main.js index 88e4d28..2b4953c 100644 --- a/website/assets/js/main.js +++ b/website/assets/js/main.js @@ -20,9 +20,8 @@ jQuery(document).ready(function($) { const counter = document.querySelector(".counter-number"); async function updateCounter() { let response = await fetch( - "https://25jzpqaq6robvcw42ctua562x40pyxre.lambda-url.ca-central-1.on.aws/" - ); + "https://25jzpqaq6robvcw42ctua562x40pyxre.lambda-url.ca-central-1.on.aws/"); let data = await response.json(); - counter.innerHTML = `👀 Views: ${data}`; + counter.innerHTML = ` Views: ${data}`; } updateCounter(); \ No newline at end of file diff --git a/website/index.html b/website/index.html index 2da7735..316e10e 100644 --- a/website/index.html +++ b/website/index.html @@ -35,7 +35,7 @@