mirror of
https://github.com/AIR-EISTI/hades.git
synced 2025-01-10 03:21:30 +01:00
11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
const express = require('express')
|
|
|
|
const SocketService = require('./SocketService')
|
|
|
|
const router = express.Router()
|
|
|
|
router.ws('/', (ws, req) => {
|
|
SocketService.register(ws)
|
|
})
|
|
|
|
module.exports = router
|