// 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;