t;
    }

    function reload(){
        fetch('/notifications-refresh', { method: 'GET' })
            .then(response => response.json())
            .then(res => {
                document.getElementById("notificationsList").innerHTML = jsonNotificationToHtmlNotification(res.notifications);
            })
            .catch(error => console.error('Error:', error));
    }
    reload();
    setInterval(reload, 3000);
</script>

</body>
</html>
