WIP: Testing WS

This commit is contained in:
Andras Bacsai
2022-05-11 16:15:34 +02:00
parent 3435f92fcb
commit 16b7c1708b
8 changed files with 783 additions and 13 deletions

3
src/lib/realtime.ts Normal file
View File

@@ -0,0 +1,3 @@
import ioClient from 'socket.io-client';
const socket = ioClient('http://localhost:3000');
export const io = socket;