@ -113,6 +113,8 @@ app.get('/', (req, res) => {
app.post('/trig', async (req, res) => {
console.log('Triggering call with data:', req.body);
trigCall(req.body.pageType, req.body.phone);
res.status(200).send('Call triggered');
});
app.listen(PORT, HOST, () => {