added api page
added login added api.ejs added middleware for authorization check
This commit is contained in:
@ -59,4 +59,14 @@ router.get('/login', function(req, res, next) {
|
||||
|
||||
|
||||
|
||||
//api doc
|
||||
router.get('/api', function(req, res, next) {
|
||||
res.render('api');
|
||||
});
|
||||
|
||||
//profile page
|
||||
router.get('/profile', function(req, res, next) {
|
||||
res.render('profile');
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
Reference in New Issue
Block a user