8 lines
194 B
JavaScript
8 lines
194 B
JavaScript
|
const express = require('express');
|
||
|
const router = new express.Router();
|
||
|
|
||
|
router.get('/:name', require('./email'));
|
||
|
router.get('/:name/preview', require('./preview'));
|
||
|
|
||
|
module.exports = router;
|