File size: 332 Bytes
62c3fe0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
// routes/subscriptionRoutes.js
const express = require('express');
const { handleSubscriptionEmail } = require('../controller/subscriptionController'); // Import controller

const router = express.Router();

// POST route for subscription email
router.post('/subscription-email', handleSubscriptionEmail);

module.exports = router;