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