mirror of
https://github.com/janishutz/MusicPlayer.git
synced 2026-09-10 14:25:24 +02:00
fix(backend): don't send connect type on own check
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
const routes = ( app: express.Application, foss: boolean ) => {
|
||||
const sdk = getLoginSdk( foss );
|
||||
|
||||
// FIXME: Here, if not in sse mode, simply close the connection after sending 'poll'
|
||||
app.get( '/room/:id/connect', corsManager.middleware( false ), sseMiddleware( 'client' ) );
|
||||
|
||||
app.get( '/room/:id/poll', corsManager.middleware( false ), ( request: express.Request, response: express.Response ) => {
|
||||
|
||||
Reference in New Issue
Block a user