28 lines
731 B
JavaScript
28 lines
731 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' });
|
|
});
|
|
|
|
router.get('/cash', function (req, res, next) {
|
|
res.render('cash', { title: 'Cash' });
|
|
});
|
|
|
|
const userRouter = require('./user');
|
|
//router.use('/user', userRouter);
|
|
|
|
module.exports = router; |