var express = require('express'); var router = express.Router(); /* GET home page. */ router.get('/', function (req, res, next) { res.render('main/2_0', { title: 'Nikola Petrov', disableBootStrap: true }); }); router.get('/old', function (req, res, next) { res.render('main/1_0', { title: 'Nikola Petrov' }); }); router.get('/mail', function (req, res, next) { res.redirect('https://privateemail.com/'); }); router.get('/list', function (req, res, next) { res.render('list', { title: 'List' }); }); const userRouter = require('./user'); //router.use('/user', userRouter); module.exports = router;