mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-21 09:18:34 +00:00
feat(chatModels): load model from localstorage
This commit is contained in:
@ -10,9 +10,7 @@ export const initServer = (
|
||||
const port = getPort();
|
||||
const wss = new WebSocketServer({ server });
|
||||
|
||||
wss.on('connection', (ws) => {
|
||||
handleConnection(ws);
|
||||
});
|
||||
wss.on('connection', handleConnection);
|
||||
|
||||
logger.info(`WebSocket server started on port ${port}`);
|
||||
};
|
||||
|
Reference in New Issue
Block a user