mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 00:19:48 +01:00
parent
a1efd9d6cf
commit
6b4c4f5426
|
|
@ -26,7 +26,7 @@ app.engine('md', function(path, options, fn){
|
||||||
|
|
||||||
app.set('views', path.join(__dirname, 'views'));
|
app.set('views', path.join(__dirname, 'views'));
|
||||||
|
|
||||||
// make it the default so we dont need .md
|
// make it the default, so we don't need .md
|
||||||
app.set('view engine', 'md');
|
app.set('view engine', 'md');
|
||||||
|
|
||||||
app.get('/', function(req, res){
|
app.get('/', function(req, res){
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ var toString = Object.prototype.toString;
|
||||||
* Initialize a new `Router` with the given `options`.
|
* Initialize a new `Router` with the given `options`.
|
||||||
*
|
*
|
||||||
* @param {Object} [options]
|
* @param {Object} [options]
|
||||||
* @return {Router} which is an callable function
|
* @return {Router} which is a callable function
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user