const express = require('express'); const router = new express.Router(); router.get('/:name', require('./email')); router.get('/:name/preview', require('./preview')); module.exports = router;