move portfolio to shyzu.link
This commit is contained in:
parent
f18820b035
commit
9898e550fb
2 changed files with 3 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue