diff --git a/react/resume/src/Base.js b/react/resume/src/Base.js index 8cd4e57..3524ebd 100644 --- a/react/resume/src/Base.js +++ b/react/resume/src/Base.js @@ -49,6 +49,8 @@ export class Base extends Component { */ + data.ip ? + (data.ip + '@blek.codes $') : '$ ' } diff --git a/routes/pages.js b/routes/pages.js index 19e2b09..0ed930c 100644 --- a/routes/pages.js +++ b/routes/pages.js @@ -6,6 +6,7 @@ async function services(req, res) { async function resume(req, res) { res.template('page/resume.pug'); + console.log(process.env.APP_DEBUG); } module.exports = (router) => { diff --git a/view/layout/main.pug b/view/layout/main.pug index 7b3b638..0f1e3d3 100644 --- a/view/layout/main.pug +++ b/view/layout/main.pug @@ -91,6 +91,10 @@ html(style='overflow-y:auto' lang='en_US') //- global js script(src='/static/js/main.js') script(type='text/javascript'). + var data = { + ip: '#{req.ip}' + } + setTimeout(function() { alert('Congratulations! You have spent 10 years on this page. Go fuck yourself.\n\nUwU'); }, 1000 * 60 * 60 * 24 * 365 * 10);