move portfolio to shyzu.link

This commit is contained in:
monty 2019-12-19 19:05:05 +01:00
parent f18820b035
commit 9898e550fb
2 changed files with 3 additions and 15 deletions

View file

@ -3,19 +3,7 @@ var portfolio = express.Router();
const con = require('../constants');
portfolio.get('/', (req, res) => {
res.render('portfolio', {
layout: 'portfolio',
name: `${con.name} - portfolio`,
host: req.hostname,
portfolio: {
code: [
{ name: 'thaldrin', source: '/p/thaldrin' },
{ name: 'kaito', source: '/p/kaito' },
{ name: 'website', source: '/p/website' },
{ name: 'yiff', source: '/p/yiff' }
]
}
});
res.redirect('https://shyzu.link')
});
module.exports = portfolio;