Pepguy commited on
Commit
e0ad870
·
verified ·
1 Parent(s): db53307

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -0
app.js CHANGED
@@ -744,6 +744,9 @@ app.post('/create-payment-link', express.json(), async (req, res) => {
744
  app.get('/health', (_req, res) => res.json({ ok: true }));
745
  app.post('/health', (_req, res) => res.json({ ok: true }));
746
 
 
 
 
747
 
748
  app.listen(PORT, () => {
749
  console.log(`Paystack webhook server listening on port ${PORT}`);
 
744
  app.get('/health', (_req, res) => res.json({ ok: true }));
745
  app.post('/health', (_req, res) => res.json({ ok: true }));
746
 
747
+ app.get('/', (_req, res) => res.json({ ok: true }));
748
+ app.post('/', (_req, res) => res.json({ ok: true }));
749
+
750
 
751
  app.listen(PORT, () => {
752
  console.log(`Paystack webhook server listening on port ${PORT}`);