This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
|
'use strict';
|
|
|
|
module.exports = {
|
|
'/': {
|
|
|
|
// Get homepage
|
|
get: (req, res) => {
|
|
return res.json({
|
|
status: 200,
|
|
data: {
|
|
index: { title: 'Express' },
|
|
},
|
|
});
|
|
},
|
|
|
|
put: (req, res, next) => {
|
|
return next();
|
|
},
|
|
},
|
|
}; |