Nikola Petrov 63346de8c1 Format
2023-10-04 20:19:16 +02:00

24 lines
633 B
JavaScript

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;