diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-11 01:18:18 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-11 01:18:18 -0400 |
| commit | 72f3d8c5ab3e2a42cf1a76d0c08815dbe46e50a1 (patch) | |
| tree | 2b582e5319ac377649379851f8f5910517ca2a72 /ui/lib/apiServer.js | |
| parent | 2e2e3980ab78052be74f4007c343e69a583648fe (diff) | |
Move login to its own route.
This - in passing - fixes the problem where the client failed to subscribe after logging in, by causing the whole subscription process to be re-run when returning to the main interface.
Diffstat (limited to 'ui/lib/apiServer.js')
| -rw-r--r-- | ui/lib/apiServer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js index 538fa85..ccd6e66 100644 --- a/ui/lib/apiServer.js +++ b/ui/lib/apiServer.js @@ -66,6 +66,8 @@ export function subscribeToEvents(resume_point) { break; } } + + return evtSource; } function onLoginEvent(data) { |
