Finish up refactor

This commit is contained in:
2025-09-28 16:01:39 +02:00
parent 3e13a4ebf5
commit 74075c2919
2 changed files with 9 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ const isFossVersion = false;
import storeSDK from '@janishutz/store-sdk';
import sdk from '@janishutz/login-sdk-server';
import sse from './sse';
import socket from './socket';
// const isFossVersion = true;
//
@@ -98,6 +100,9 @@ const run = () => {
*/
const socketData: SocketData = {};
sse.useSSE( app, socketData, corsOpts, sdk.getSessionID, sdk.getSignedIn );
socket.useWebSocket( httpServer, socketData );
/*
GENERAL ROUTES