add ip in resume
This commit is contained in:
parent
d0af42f4f1
commit
5a04557085
|
@ -49,6 +49,8 @@ export class Base extends Component {
|
|||
</tbody>
|
||||
</table>
|
||||
*/
|
||||
data.ip ?
|
||||
(data.ip + '@blek.codes $') :
|
||||
'$ '
|
||||
}
|
||||
|
||||
|
|
|
@ -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) => {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue