new end point

This commit is contained in:
CHIEFSOFT\ameye
2025-01-11 14:03:04 -05:00
parent 0ed7821567
commit 9ebff0676c
+7
View File
@@ -44,6 +44,13 @@ app.get('/broadcast/selected', (req, res) => {
res.send('hello world')
})
app.get('/broadcast/provisioning', (req, res) => {
const room = 'merms_provision_events';
const message_action = 'refresh_selected_actions';
socket.emit("join_room", room);
socket.emit("send_message", { message_action , room });
res.send('hello world')
})
const routes = require('./api/routes');
routes(app);