Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -3,6 +3,7 @@ const hubCtrl = require('./hub.ctrl'); | ... | @@ -3,6 +3,7 @@ const hubCtrl = require('./hub.ctrl'); |
3 | 3 | ||
4 | const hub = new Router(); | 4 | const hub = new Router(); |
5 | 5 | ||
6 | -hub.post('/register', hubCtrl.hubRegister); | 6 | +hub.post('/connect', hubCtrl.hubConnect); |
7 | +hub.post('/disconnect', hubCtrl.hubDisconnect); | ||
7 | 8 | ||
8 | module.exports = hub; | 9 | module.exports = hub; |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment