Main timer logic, socketio server and backend endpoints
This commit is contained in:
parent
43f355765a
commit
093c8c6e24
3 changed files with 85 additions and 1 deletions
7
scoreboard/controllers/socketio.js
Normal file
7
scoreboard/controllers/socketio.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
const { Server } = require('socket.io');
|
||||
|
||||
const io = new Server(3001, {
|
||||
cors: { origin: "*" }
|
||||
});
|
||||
|
||||
module.exports = io
|
||||
Loading…
Add table
Add a link
Reference in a new issue