Fix server file
This commit is contained in:
@@ -61,6 +61,16 @@ app.get('/broadcast/provisioning', (req, res) => {
|
||||
res.send('hello world')
|
||||
})
|
||||
|
||||
// // respond with "hello world" when a GET request is made to the homepage
|
||||
// app.get('/broadcast/general', (req, res) => {
|
||||
// logger.info('***** Server PROVISION GENERAL MESSAGE ********* ');
|
||||
// const room = 'merms_global_events';
|
||||
// const message_action = 'refresh_all_actions';
|
||||
// socket.emit("join_room", room);
|
||||
// socket.emit("send_message", { message_action , room });
|
||||
// res.send('hello world')
|
||||
// })
|
||||
|
||||
const routes = require('./api/routes');
|
||||
routes(app);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user