mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-03 16:51:24 -07:00
feat: implement Server-Sent Events (SSE) for real-time updates and notifications
This commit is contained in:
@@ -11,5 +11,6 @@ function getApiBase()
|
||||
apiBase = `${protocol}://${host}:${port}`;
|
||||
}
|
||||
|
||||
return apiBase;
|
||||
// Remove trailing slash for consistency
|
||||
return apiBase.replace(/\/$/, '');
|
||||
}
|
||||
Reference in New Issue
Block a user