Initial express.js project structure
This commit is contained in:
4
src/routes/home.js
Normal file
4
src/routes/home.js
Normal file
@ -0,0 +1,4 @@
|
||||
// GET - /
|
||||
exports.getIndex = function (req, res) {
|
||||
res.render('index.twig');
|
||||
};
|
Reference in New Issue
Block a user