From f064bb6f4b0302ec9082a8e596c3b0bb29edc9c6 Mon Sep 17 00:00:00 2001 From: Tybo Verslype Date: Sun, 29 Dec 2024 21:14:41 +0100 Subject: [PATCH] fix: added alerts back --- website/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/templates/index.html b/website/templates/index.html index 6ca99fc..5ceafec 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -34,7 +34,7 @@ }) .then(response => response.json()) .then(data => { - {#alert(data.message); // Show a success message from the backend#} + alert(data.message); // Show a success message from the backend console.log(data.message); }) .catch(error => { @@ -66,7 +66,7 @@ }) .then(response => response.json()) .then(data => { - {#alert(data.message); // Show a success message from the backend#} + alert(data.message); // Show a success message from the backend console.log(data.message) }) .catch(error => {