log server
This commit is contained in:
@@ -11,6 +11,8 @@ app.use(cors());
|
|||||||
|
|
||||||
const server = http.createServer(app);
|
const server = http.createServer(app);
|
||||||
|
|
||||||
|
console.log(server);
|
||||||
|
|
||||||
const io = new Server(server, {
|
const io = new Server(server, {
|
||||||
cors: {
|
cors: {
|
||||||
origin: ['http://localhost:3000',
|
origin: ['http://localhost:3000',
|
||||||
|
|||||||
Reference in New Issue
Block a user