Initial commit

This commit is contained in:
Deep Koluguri 2026-05-12 23:46:49 -04:00
parent 0a8dbfe964
commit c6f2c5639a
1 changed files with 5 additions and 1 deletions

View File

@ -5,8 +5,12 @@ const app = express();
const port = 3000; const port = 3000;
app.use(express.json()); app.use(express.json());
app.use(express.static(path.join(__dirname, '../'))); // Serve static files from parent dir // Serve static files
app.use(express.static(path.join(__dirname, '../')));
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, '../login.html'));
});
// Mock WhatsApp Webhook // Mock WhatsApp Webhook
app.post('/whatsapp/webhook', async (req, res) => { app.post('/whatsapp/webhook', async (req, res) => {