complete redesign: use nodejs on server instead of php - documentation to be updated
This commit is contained in:
10
nodejs/node_modules/express/testing/foo/routes/index.js
generated
vendored
Normal file
10
nodejs/node_modules/express/testing/foo/routes/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
/*
|
||||
* GET home page.
|
||||
*/
|
||||
|
||||
exports.index = function(req, res){
|
||||
res.writeHead(200);
|
||||
req.doesnotexist();
|
||||
// res.render('index', { title: 'Express' })
|
||||
};
|
Reference in New Issue
Block a user