mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-02-08 07:22:02 +00:00
jsut setting up
This commit is contained in:
9
chapter21/02_new_version_routes.js
Normal file
9
chapter21/02_new_version_routes.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/*
|
||||
* GET home page.
|
||||
*/
|
||||
|
||||
module.exports = function(app) {
|
||||
app.get('/', function(req, res){
|
||||
res.render('index', { title: 'Express' });
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user