We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d81edfe commit 05b8ee8Copy full SHA for 05b8ee8
api/index.js
@@ -3,7 +3,7 @@ import express from "express";
3
import {Server} from "socket.io";
4
import {createServer} from "http";
5
import cors from 'cors';
6
-import {ySocketIO} from 'y-socket.io';
+import {YSocketIO} from 'y-socket.io';
7
8
const app = express();
9
const server = createServer(app);
@@ -12,7 +12,7 @@ const io = new Server(server, {
12
});
13
const PORT = 8000;
14
15
-const ysocketio = new ySocketIO(io, {});
+const ysocketio = new YSocketIO(io, {});
16
17
ysocketio.initialize();
18
0 commit comments