mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-11 00:30:08 +08:00
Initial commit of example app
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
/*
|
||||
* GET home page.
|
||||
*/
|
||||
|
||||
exports.index = function(req, res){
|
||||
res.render('index', { title: 'Express' });
|
||||
};
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
/*
|
||||
* GET users listing.
|
||||
*/
|
||||
|
||||
exports.list = function(req, res){
|
||||
res.send("respond with a resource");
|
||||
};
|
||||
Reference in New Issue
Block a user