fix(backend): send use poll on attempted sse connection establishing

This commit is contained in:
2026-09-07 14:13:37 +02:00
parent 68bbfa7896
commit 18bdf82bcf
5 changed files with 23 additions and 8 deletions
+5 -2
View File
@@ -1,3 +1,6 @@
import {
Config
} from '../../dtype/config';
import express from 'express';
import {
getLoginSdk
@@ -9,12 +12,12 @@ import rooms from '../../manager/rooms';
import tracking from './tracking';
import update from './update';
const routes = ( app: express.Application, foss: boolean ) => {
const routes = ( app: express.Application, foss: boolean, config: Config ) => {
const sdk = getLoginSdk( foss );
const ownership = getOwnershipManager( foss );
tracking.routes( app, foss );
update.routes( app, foss );
update.routes( app, foss, config );
app.get(
'/room/create',