Fix server file

This commit is contained in:
CHIEFSOFT\ameye
2025-07-20 18:43:45 -04:00
parent 5f0ca9643f
commit 2a93f38fba
+10
View File
@@ -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);