feat: implement Server-Sent Events (SSE) for real-time updates and notifications

This commit is contained in:
Jokob @NetAlertX
2026-01-11 06:15:27 +00:00
parent 6deb83a53d
commit 5a0332bba5
11 changed files with 621 additions and 32 deletions

View File

@@ -11,5 +11,6 @@ function getApiBase()
apiBase = `${protocol}://${host}:${port}`;
}
return apiBase;
// Remove trailing slash for consistency
return apiBase.replace(/\/$/, '');
}