This commit is contained in:
ari melody 2026-06-12 05:08:23 +01:00
parent 6927d54cbd
commit f838edeadb
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E

View file

@ -42,6 +42,9 @@ async function updateTitle() {
eventSource.close();
console.error("Connection lost, or an error has occurred.");
console.log("Attempting to reconnect...");
// TODO: stop reconnecting after 10 failed attempts
setTimeout(() => {
updateTitle();
}, 1000);