|
|
@ -21,7 +21,7 @@ const routes = (app) => {
|
|
|
|
|
|
|
|
|
|
|
|
const server = express()
|
|
|
|
const server = express()
|
|
|
|
.use(PREFIX, routes(router, {}))
|
|
|
|
.use(PREFIX, routes(router, {}))
|
|
|
|
.use(PUBLIC, express.static("public"))
|
|
|
|
.use(express.static("public"))
|
|
|
|
.listen(PORT, () => console.log(`Listening on ${PORT}`));
|
|
|
|
.listen(PORT, () => console.log(`Listening on ${PORT}`));
|
|
|
|
|
|
|
|
|
|
|
|
const wss = new WebSocketServer({ server, clientTracking: true });
|
|
|
|
const wss = new WebSocketServer({ server, clientTracking: true });
|
|
|
|