Fix error template, convert rest of space indents to tabs
This commit is contained in:
parent
2adb689553
commit
3ec3efca0d
16521
npm-debug.log
16521
npm-debug.log
File diff suppressed because one or more lines are too long
@ -3,7 +3,7 @@ var router = express.Router();
|
|||||||
|
|
||||||
/* GET home page. */
|
/* GET home page. */
|
||||||
router.get('/', function(req, res) {
|
router.get('/', function(req, res) {
|
||||||
res.render('index', { title: 'Express' });
|
res.render('index', { title: 'Express'});
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
{<content}
|
{<content}
|
||||||
<h1>{message}</h1>
|
<h1>{message}</h1>
|
||||||
<h2>{error.status}</h2>
|
<h2>{error.status}</h2>
|
||||||
{#error.stack}
|
|
||||||
<pre>
|
<pre>
|
||||||
{~n}
|
{error.stack}
|
||||||
</pre>
|
</pre>
|
||||||
{/error.stack}
|
|
||||||
{/content}
|
{/content}
|
||||||
|
Reference in New Issue
Block a user