index.js 318 Bytes
var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function (req, res, next) {
  res.render('/public/html/main', { title: 'My Gallery' });
});

router.get('/login', function (req, res, next) {
  res.render('index', { title: 'Express' });
})
module.exports = router;