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
40
package.json
40
package.json
@ -1,22 +1,22 @@
|
||||
{
|
||||
"name": "node-task",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "~4.9.0",
|
||||
"body-parser": "~1.8.1",
|
||||
"cookie-parser": "~1.3.3",
|
||||
"morgan": "~1.3.0",
|
||||
"serve-favicon": "~2.1.3",
|
||||
"debug": "~2.0.0",
|
||||
"consolidate":"*",
|
||||
"dustjs-linkedin":"*",
|
||||
"dustjs-helpers":"*",
|
||||
"nodeunit":"*",
|
||||
"mysql":"*",
|
||||
"node-memcache":"*"
|
||||
}
|
||||
"name": "node-task",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "~4.9.0",
|
||||
"body-parser": "~1.8.1",
|
||||
"cookie-parser": "~1.3.3",
|
||||
"morgan": "~1.3.0",
|
||||
"serve-favicon": "~2.1.3",
|
||||
"debug": "~2.0.0",
|
||||
"consolidate":"*",
|
||||
"dustjs-linkedin":"*",
|
||||
"dustjs-helpers":"*",
|
||||
"nodeunit":"*",
|
||||
"mysql":"*",
|
||||
"node-memcache":"*"
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
body {
|
||||
padding: 50px;
|
||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
padding: 50px;
|
||||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00B7FF;
|
||||
color: #00B7FF;
|
||||
}
|
@ -3,7 +3,7 @@ var router = express.Router();
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function(req, res) {
|
||||
res.render('index', { title: 'Express' });
|
||||
res.render('index', { title: 'Express'});
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
@ -3,7 +3,7 @@ var router = express.Router();
|
||||
|
||||
/* GET users listing. */
|
||||
router.get('/', function(req, res) {
|
||||
res.send('respond with a resource');
|
||||
res.send('respond with a resource');
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
@ -4,9 +4,7 @@
|
||||
{<content}
|
||||
<h1>{message}</h1>
|
||||
<h2>{error.status}</h2>
|
||||
{#error.stack}
|
||||
<pre>
|
||||
{~n}
|
||||
{error.stack}
|
||||
</pre>
|
||||
{/error.stack}
|
||||
{/content}
|
||||
|
Reference in New Issue
Block a user