mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-25 19:28:35 +00:00
Initial commit
This commit is contained in:
8
src/websocket/index.ts
Normal file
8
src/websocket/index.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { initServer } from './websocketServer';
|
||||
import http from 'http';
|
||||
|
||||
export const startWebSocketServer = (
|
||||
server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>,
|
||||
) => {
|
||||
initServer(server);
|
||||
};
|
Reference in New Issue
Block a user